From 9aec2fb5e728a37026adc0d5246e1cfe7d226cb9 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 9 Sep 2008 09:53:31 +0000 Subject: - 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 --- admin/template/yoga/theme/admin/themeconf.inc.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'admin/template/yoga/theme') diff --git a/admin/template/yoga/theme/admin/themeconf.inc.php b/admin/template/yoga/theme/admin/themeconf.inc.php index 8ba054ec9..61c090ebf 100644 --- a/admin/template/yoga/theme/admin/themeconf.inc.php +++ b/admin/template/yoga/theme/admin/themeconf.inc.php @@ -51,24 +51,10 @@ function selected_admin_menu() $themeconf = array( 'template' => 'yoga', 'theme' => 'admin', - 'template_dir' => 'admin/template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => ' - - - - - - ' + 'selected_admin_menu' => selected_admin_menu(), + 'local_head' => '', ); ?> -- cgit v1.2.3