Changeset 4578 for extensions/LLGBO2/main.inc.php
- Timestamp:
- Dec 28, 2009, 7:55:32 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/main.inc.php
r4574 r4578 46 46 function MyBeginheader() 47 47 { global $page,$conf; 48 49 48 If ($conf['LLGBO_SETTINGS'][2] == 'true' ) // reset nofollow, noindex 50 49 { unset ($page['meta_robots']);} … … 54 53 {global $template,$conf; 55 54 $page_name = script_basename(); 55 if (!isset($page_name)) {$page_name ='index';} 56 56 if ($conf['LLGBO_SETTINGS'] [6] = 'true' ) 57 57 {$no_header = false; 58 if ( $page_name == 'index')58 if ( $page_name == 'index') 59 59 {// print_r($_GET.'----'.$page_name ); 60 60 if ((count ($_GET)) == 0 and ($conf['LLGBO_HEADER'][0] == 'false')) {$no_header = true;}// home … … 74 74 if ((strpos( $cle ,'created-monthly-list') == true ) and ($conf['LLGBO_HEADER'][12] == 'false')) {$no_header = true;break;} 75 75 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;} 78 77 } 79 78 } … … 90 89 {$template->append('head_elements',"\n".' <STYLE type="text/css">#theHeader{display: none}</STYLE>');} 91 90 } 92 93 94 91 // 95 92 If ($conf['LLGBO_SETTINGS'] [9] == 'true' )
Note: See TracChangeset
for help on using the changeset viewer.