Show
Ignore:
Timestamp:
02/10/09 10:58:57 (3 years ago)
Author:
daris
Message:

portal: fixes for panels on all pages option

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/portal_by_daris/panels.php

    r18 r21  
    2929                foreach ($panels as $cur_panel) 
    3030                { 
    31                         if ($left_width == 0 && $location == 0 || $right_width == 0 && $location == 3 || FORUM_PAGE == 'pages' && $location == 3) 
     31                        if ($left_width == 0 && $location == 0 || $right_width == 0 && $location == 3 || FORUM_PAGE == 'pages' && $location == 3 || $forum_config['o_portal_panels_all_pages'] == 1 && $location == 3) 
    3232                                continue; 
    3333                         
     
    9898 
    9999        $tpl_temp .= "\n".'<div style="clear: both"></div>'; 
    100  
    101100        $tpl_main = str_replace('<!-- portal_bottom -->', $tpl_temp, $tpl_main); 
    102101