only show preview icon in photo index when use_lightbox is set in the config
[phpfspot.git] / phpfspot_tmpl.php
index 5eff54476b2a21627fe93cc803ce5ef6eb02da3a..e8cdc7731380b389cfd9ec7c99a6360ddf7aaf82 100644 (file)
@@ -38,6 +38,8 @@ class PHPFSPOT_TMPL extends Smarty {
       $this->config_dir   = $parent->cfg->base_path .'/smarty_config';
       $this->cache_dir    = $parent->cfg->base_path .'/smarty_cache';
 
+      $this->assign('use_lightbox', 'true');
+
    } // __construct()
 
    public function show($template)