X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_tmpl.php;h=52c983e971aedd400487a372701eb678e7187e5d;hp=5eff54476b2a21627fe93cc803ce5ef6eb02da3a;hb=144f16a71f7289bb891c52995061aee21e3e08f9;hpb=d1882698df97b2eabcf1135eef71e5a4547d4a8e diff --git a/phpfspot_tmpl.php b/phpfspot_tmpl.php index 5eff544..52c983e 100644 --- a/phpfspot_tmpl.php +++ b/phpfspot_tmpl.php @@ -38,6 +38,9 @@ class PHPFSPOT_TMPL extends Smarty { $this->config_dir = $parent->cfg->base_path .'/smarty_config'; $this->cache_dir = $parent->cfg->base_path .'/smarty_cache'; + if(isset($parent->cfg->use_lightbox) && $parent->cfg->use_lightbox == true) + $this->assign('use_lightbox', 'true'); + } // __construct() public function show($template)