Ignore:
Timestamp:
12/28/09 19:55:32 (10 years ago)
Author:
EXFTB
Message:

llgbo2.0.i -> improve administration in 1024*768

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/main.inc.php

    r4574 r4578  
    4646function MyBeginheader() 
    4747{ global $page,$conf; 
    48          
    4948         If ($conf['LLGBO_SETTINGS'][2]  == 'true' ) // reset nofollow, noindex 
    5049        { unset ($page['meta_robots']);} 
     
    5453{global $template,$conf; 
    5554$page_name = script_basename(); 
     55if (!isset($page_name)) {$page_name ='index';} 
    5656if ($conf['LLGBO_SETTINGS'] [6] = 'true' )  
    5757{$no_header = false; 
    58 if (  $page_name == 'index') 
     58if  (  $page_name == 'index') 
    5959        {//  print_r($_GET.'----'.$page_name );  
    6060        if ((count ($_GET)) == 0   and ($conf['LLGBO_HEADER'][0] == 'false')) {$no_header = true;}// home 
     
    7474                        if ((strpos( $cle ,'created-monthly-list') == true ) and ($conf['LLGBO_HEADER'][12] == 'false')) {$no_header = true;break;} 
    7575                        if ((strpos( $cle ,'favorites') == true ) and ($conf['LLGBO_HEADER'][19] == 'false')) {$no_header = true;break;} 
    76                     if ((strpos( $cle ,'recent_cats') == true ) and ($conf['LLGBO_HEADER'][20] == 'false')) {$no_header = true;break;} 
    77          
     76                    if ((strpos( $cle ,'recent_cats') == true ) and ($conf['LLGBO_HEADER'][20] == 'false')) {$no_header = true;break;}  
    7877                 } 
    7978        } 
     
    9089{$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');} 
    9190}        
    92                  
    93  
    9491// 
    9592If ($conf['LLGBO_SETTINGS'] [9]  == 'true' ) 
Note: See TracChangeset for help on using the changeset viewer.