func_known_script(array('id'=>'jquery', 'src'=>get_root_url().'plugins/lightbox/jquery.min.js'), $smarty); } function lightbox_plugin($tpl_thumbnails_var, $pictures) { include(LIGHTBOX_PATH . 'lightbox.php'); return $tpl_thumbnails_var; } if (script_basename() == 'admin') include(dirname(__FILE__).'/admin/functions.inc.php'); ?>