Changeset 15076 for extensions/LLGBO2/include/manage_picture_content.php
- Timestamp:
- May 17, 2012, 8:38:07 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/include/manage_picture_content.php
r14421 r15076 2 2 $prev = $template->get_template_vars('previous'); 3 3 $next = $template->get_template_vars('next'); 4 $current = $template->get_template_vars('current'); 5 $themeconf = $template->get_template_vars('themeconf'); 4 6 //print_r($next); 5 7 $swtimg = '||<img src='; … … 8 10 //---------------------------------------------------- 9 11 If ($conf['LLGBO_SETTINGS'][1] == 'true' )// tooltip 10 { 11 12 { if (isset($prev)){$template->append('previous', array('TITLE' => $prev['TITLE'].$swtimg.$prev['THUMB_SRC'].'>'),TRUE);} 13 if (isset($next)){$template->append('next', array('TITLE' => $next['TITLE'].$swtimg.$next['THUMB_SRC'].'>'),TRUE);} 12 14 $template->append('llgbo', array('tooltipCSS' => $sweetcss), true); 13 15 } … … 17 19 //---------------------------------------------------- 18 20 If (($conf['LLGBO_SETTINGS'] [0] == 'true') ) //Frame 19 { $template->set_prefilter('default_content', 'LLGBO_prefilter_Frame'); 21 { 22 $template->set_prefilter('default_content', 'LLGBO_prefilter_Frame'); 20 23 // selected picture Size 21 24 $deriv_type = pwg_get_session_var('picture_deriv', IMG_LARGE); … … 36 39 $lastbrdpx = $bordpx;} 37 40 } 41 $csstheme = 'default'; 42 $themeconf = $template->get_template_vars('themeconf'); 43 if (( strpos(strtoupper($themeconf['name']) , 'STRIPPED') === 0) ) 44 { $csstheme = 'stripped';} 38 45 $frame_width = $frame_width + ( 2* $lastbrdpx); 39 46 $frame_height = $frame_height + ( 2* $lastbrdpx); … … 43 50 'FRAME_BEGIN' => $frame_begin, 44 51 'FRAME_END' => $frame_end, 45 'GBOCSS' => $gbolook), true);52 'GBOCSS' => LLGBO_PATH."css/llgbo_content_".$csstheme.".css" ), true); 46 53 47 54 48 If ($conf['LLGBO_SETTINGS'] [5] == 'true' ) /* title on frame */ 55 If (($conf['LLGBO_SETTINGS'] [5] == 'true' ) /* title on frame */ 56 and ($conf['LLGBO_SETTINGS'] [0] == 'true' ) )// frame 49 57 { $template->append('llgbo', array( 50 'TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0],), true); 58 'TITLE_FRAME_COLOR' => $conf['LLGBO_FRAME'][0], 59 'TITLE_FRAME' => $current['name'] ), true); 51 60 $template->assign('SHOW_PICTURE_NAME_ON_TITLE' , false); 61 52 62 } 53 63 } // end frame
Note: See TracChangeset
for help on using the changeset viewer.