- fix typing error in index.tpl

- added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example)
- removed unused themeconf.template_dir 

git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2008-09-09 09:53:31 +00:00
parent 26474d349f
commit 9aec2fb5e7
11 changed files with 56 additions and 37 deletions
-9
View File
@@ -622,15 +622,6 @@ foreach (array('first','previous','next','last', 'current') as $which_image)
if ($page['slideshow'])
{
// Add local-slideshow.css file if exists
// Not only for ligth
$css = PHPWG_ROOT_PATH . get_themeconf('template_dir') . '/theme/'
. get_themeconf('theme') . '/local-slideshow.css';
if (file_exists($css))
{
//TODO CORRECT THIS $template->assign_block_vars('slideshow', array());
}
$tpl_slideshow = array();
//slideshow end