Ignore:
Timestamp:
Jul 16, 2012, 10:01:20 PM (12 years ago)
Author:
gbo
Message:

Frame on slideshow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.