Changeset 16791
- Timestamp:
- Jul 16, 2012, 10:01:20 PM (12 years ago)
- Location:
- extensions/LLGBO2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/include/manage_picture_content.php
r16754 r16791 4 4 $current = $template->get_template_vars('current'); 5 5 $themeconf = $template->get_template_vars('themeconf'); 6 $slideshow = $template->get_template_vars('U_SLIDESHOW'); 6 7 7 //print_r($next); 8 8 $swtimg = '||<img src='; … … 15 15 $template->append('llgbo', array('tooltipCSS' => $sweetcss), true); 16 16 } 17 If (($conf['LLGBO_SETTINGS'] [0] == 'true') and (!isset($slideshow))) //Frame17 If (($conf['LLGBO_SETTINGS'] [0] == 'true') ) //Frame 18 18 { 19 19 $template->set_prefilter('default_content', 'LLGBO_prefilter_Content_Frame'); -
extensions/LLGBO2/main.inc.php
r16754 r16791 2 2 /* 3 3 Plugin Name: Look_like_gbo2 4 Version: 2.4. F4 Version: 2.4.D 5 5 Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 6 6 Author: GBo … … 13 13 2.4.D Compliance with Theme Simple + fix bug on option 14 14 2.4.F Improvement on frame management first size 15 Frame available on SlideShow. 15 16 */ 16 17 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); … … 68 69 //------------------------------------------------------------- 69 70 function llgbo_EndPicture() 70 { global $template,$conf ;71 { global $template,$conf,$page; 71 72 $infofile = $template->get_template_vars('INFO_FILE'); 72 73 $current = $template->get_template_vars('current'); 73 $slideshow = $template->get_template_vars('U_SLIDESHOW'); 74 74 75 //---------------------------------------------------- 75 76 /* HTML End frame on Picture.tpl */ 76 77 //---------------------------------------------------- 77 If (($conf['LLGBO_SETTINGS'] [0] == 'true') and (!isset($slideshow)) ) //Frame 78 { $template->set_prefilter('picture', 'LLGBO_prefilter_Picture_Frame'); 78 If (($conf['LLGBO_SETTINGS'] [0] == 'true') ) //Frame 79 { $target = 'picture'; 80 if ($page['slideshow'] and $conf['light_slideshow']) 81 { $target = 'slideshow';} 82 $template->set_prefilter($target, 'LLGBO_prefilter_Picture_Frame'); 83 79 84 If (isset($conf['LLGBO_SETTINGS'] ['rirs'])) 80 85 { // Force javascript LlgboFr_Resize to Read MainImage Reel Size via URL … … 111 116 $template->assign('SHOW_PICTURE_NAME_ON_TITLE' , false); 112 117 } 113 } 118 } //end frame 114 119 // ---- Metadata ---------- 115 120 $pictExt = substr($infofile,-3); -
extensions/LLGBO2/template/llgbo_content.tpl
r16754 r16791 1 1 <!-- LLGBO2 picture_content --> 2 {if !isset($U_SLIDESHOW)} 2 3 3 {if isset($llgbo.TOOLTIPCSS)} 4 4 {$llgbo.TOOLTIPCSS} … … 23 23 <div id="LLGBO_READIMGREELSIZE" style="visibility:hidden;top:0;"> <!-- if exists Force javascript LlgboFr_Resize to Read MainImage Reel Size via URL" --></div> 24 24 {/if} 25 {/if}26 25 26
Note: See TracChangeset
for help on using the changeset viewer.