Signed-off-by: Andreas Unterkircher <unki@netshadow.at>
*/
//var $show_tags = Array("Friends", "Holidays");
+ /* Use lightbox2 for photo preview (adds the little eye symbol into the
+ photo index.
+ */
+ var $use_lightbox = true;
+
/* logging = display || errorlog || logfile */
var $logging = "display";
$this->config_dir = $parent->cfg->base_path .'/smarty_config';
$this->cache_dir = $parent->cfg->base_path .'/smarty_cache';
- $this->assign('use_lightbox', 'true');
+ if(isset($parent->cfg->use_lightbox) && $parent->cfg->use_lightbox == true)
+ $this->assign('use_lightbox', 'true');
} // __construct()