mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user