Changeset 29005 for extensions/LLGBO2/include
- Timestamp:
- Jul 8, 2014, 1:55:14 PM (10 years ago)
- Location:
- extensions/LLGBO2/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/include/manage_header.php
r28990 r29005 4 4 //---------------------------------------------------- 5 5 if (!isset($page_name)) {$page_name ='index';} 6 if ($ CF_LLGBO['manageheader'])6 if ($conf['LLGBO2']['manageheader']) 7 7 {$no_header = false; 8 8 $input= $_SERVER['PHP_SELF']; … … 13 13 14 14 if ( strpos( $input,'index') == true ) 15 { foreach($ CF_LLGBO['HD-dispheader'] as $cle => $valeur)15 { foreach($conf['LLGBO2']['HD-dispheader'] as $cle => $valeur) 16 16 { if ($valeur == false) { 17 17 if($cle == 'home' ) {$cle = 'index.php';} … … 23 23 else 24 24 { 25 if (isset($ CF_LLGBO['HD-dispheader'][$page_name]) and ($CF_LLGBO['HD-dispheader'][$page_name] == false) ) {$no_header = true;}25 if (isset($conf['LLGBO2']['HD-dispheader'][$page_name]) and ($conf['LLGBO2']['HD-dispheader'][$page_name] == false) ) {$no_header = true;} 26 26 } 27 27 if ($no_header == true) -
extensions/LLGBO2/include/manage_picture_content.php
r28990 r29005 6 6 /* LLGBO Manage Picture_content */ 7 7 //---------------------------------------------------- 8 global $template,$conf ,$CF_LLGBO;8 global $template,$conf; 9 9 10 10 $template->assign('LLGBO_PATH',LLGBO_PATH); 11 11 include_once(LLGBO_PATH.'/css/sweettitles.css.php'); 12 $ CF_LLGBO['rendercontent'] = false;12 $conf['LLGBO2']['rendercontent'] = false; 13 13 //----------------------------------------------------------------- 14 14 // ----------- add CSS tooltip in footer -------------------- 15 15 //----------------------------------------------------------------- 16 If (($ CF_LLGBO['tooltipdisp'] ) or ($CF_LLGBO['exifunderbt']))16 If (($conf['LLGBO2']['tooltipdisp'] ) or ($conf['LLGBO2']['exifunderbt'])) 17 17 { $template->append('footer_elements',$sweetcss); 18 18 $template->append('llgbo', array( 'TOOLTIP' => 'ok' ), true);} … … 23 23 if (!in_array($ext, $conf['picture_ext'])) 24 24 {return $content;} 25 $ CF_LLGBO['rendercontent'] = true; // $content ok for update25 $conf['LLGBO2']['rendercontent'] = true; // $content ok for update 26 26 27 27 //----------------------------------------------------------------- … … 32 32 $autosize_in_place = $template->get_template_vars('is_automatic_size'); 33 33 $autosize_selected = $template->get_template_vars('automatic_size'); 34 unset ($ CF_LLGBO['PictSizeWH'] );34 unset ($conf['LLGBO2']['PictSizeWH'] ); 35 35 if ((isset($autosize_in_place)) and (isset($autosize_selected)) ) 36 {$ CF_LLGBO['PictSizeWH'] = $element_info['derivatives'][$autosize_selected]->get_size();36 {$conf['LLGBO2']['PictSizeWH'] = $element_info['derivatives'][$autosize_selected]->get_size(); 37 37 } 38 38 else … … 44 44 //---------------------------------------------------- 45 45 46 If ($ CF_LLGBO['tooltipdisp'] )// tooltip46 If ($conf['LLGBO2']['tooltipdisp'] )// tooltip 47 47 { $prev = $template->get_template_vars('previous'); 48 48 $next = $template->get_template_vars('next'); … … 53 53 } 54 54 55 If (($ CF_LLGBO['frame']) ) //Frame55 If (($conf['LLGBO2']['frame']) ) //Frame 56 56 { $template->set_prefilter('default_content', 'LLGBO_prefilter_Content_Frame'); 57 57 //---------------------------------------------------- … … 68 68 {$themestyle = 'default';} 69 69 $frame_end = ''; 70 foreach ($ CF_LLGBO['FR-sizes'] as $value)70 foreach ($conf['LLGBO2']['FR-sizes'] as $value) 71 71 {if ( $value > 0) // boder value > 0 72 72 { $frame_end = $frame_end.'</div>';}
Note: See TracChangeset
for help on using the changeset viewer.