Changeset 16791


Ignore:
Timestamp:
07/16/12 22:01:20 (7 years ago)
Author:
gbo
Message:

Frame on slideshow

Location:
extensions/LLGBO2
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/include/manage_picture_content.php

    r16754 r16791  
    44$current = $template->get_template_vars('current'); 
    55$themeconf = $template->get_template_vars('themeconf'); 
    6 $slideshow = $template->get_template_vars('U_SLIDESHOW'); 
     6 
    77//print_r($next); 
    88$swtimg =   '||<img src=';       
     
    1515        $template->append('llgbo', array('tooltipCSS'  => $sweetcss), true);  
    1616        }        
    17 If (($conf['LLGBO_SETTINGS'] [0] == 'true') and (!isset($slideshow))  ) //Frame 
     17If (($conf['LLGBO_SETTINGS'] [0] == 'true')   ) //Frame 
    1818        {        
    1919        $template->set_prefilter('default_content', 'LLGBO_prefilter_Content_Frame'); 
  • extensions/LLGBO2/main.inc.php

    r16754 r16791  
    22/* 
    33Plugin Name: Look_like_gbo2  
    4 Version:  2.4.F 
     4Version:  2.4.D 
    55Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=251 
    66Author: GBo  
     
    1313        2.4.D Compliance with Theme Simple + fix bug on option 
    1414        2.4.F Improvement on frame management first size 
     15                  Frame available on SlideShow.  
    1516 */ 
    1617if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 
     
    6869//-------------------------------------------------------------  
    6970function  llgbo_EndPicture() 
    70 { global $template,$conf; 
     71{ global $template,$conf,$page; 
    7172$infofile = $template->get_template_vars('INFO_FILE'); 
    7273$current = $template->get_template_vars('current'); 
    73 $slideshow = $template->get_template_vars('U_SLIDESHOW'); 
     74 
    7475//----------------------------------------------------    
    7576/*       HTML End  frame   on Picture.tpl       */ 
    7677//----------------------------------------------------   
    77 If (($conf['LLGBO_SETTINGS'] [0] == 'true') and (!isset($slideshow)) ) //Frame 
    78         { $template->set_prefilter('picture', 'LLGBO_prefilter_Picture_Frame'); 
     78If (($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                 
    7984                If (isset($conf['LLGBO_SETTINGS'] ['rirs'])) 
    8085                { // Force javascript LlgboFr_Resize  to Read MainImage Reel Size via URL  
     
    111116                        $template->assign('SHOW_PICTURE_NAME_ON_TITLE' , false);  
    112117                        } 
    113         } 
     118        } //end frame 
    114119// ---- Metadata ----------      
    115120$pictExt = substr($infofile,-3); 
  • extensions/LLGBO2/template/llgbo_content.tpl

    r16754 r16791  
    11<!-- LLGBO2 picture_content --> 
    2  {if !isset($U_SLIDESHOW)} 
     2 
    33        {if  isset($llgbo.TOOLTIPCSS)}    
    44                        {$llgbo.TOOLTIPCSS}  
     
    2323        <div id="LLGBO_READIMGREELSIZE" style="visibility:hidden;top:0;"> <!--  if exists Force javascript LlgboFr_Resize  to Read MainImage Reel Size via URL" --></div> 
    2424        {/if} 
    25 {/if} 
    2625 
     26 
Note: See TracChangeset for help on using the changeset viewer.