diff options
author | rvelices <rv-github@modusoptimus.com> | 2008-09-09 09:53:31 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2008-09-09 09:53:31 +0000 |
commit | 9aec2fb5e728a37026adc0d5246e1cfe7d226cb9 (patch) | |
tree | 61cd3a69456a91747317de8db797db56e01157f7 /picture.php | |
parent | 26474d349f6f03b3f74beb91ef680f0c634e05d5 (diff) |
- 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
Diffstat (limited to '')
-rw-r--r-- | picture.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/picture.php b/picture.php index 31a53cbde..6f0af4d6c 100644 --- a/picture.php +++ b/picture.php @@ -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 |