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 --- template/yoga/index.tpl | 2 +- template/yoga/theme/Sylvia/themeconf.inc.php | 3 +-- template/yoga/theme/clear/themeconf.inc.php | 3 +-- template/yoga/theme/dark/themeconf.inc.php | 3 +-- template/yoga/theme/p0w0/themeconf.inc.php | 3 +-- template/yoga/theme/wipi/themeconf.inc.php | 3 +-- 6 files changed, 6 insertions(+), 11 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/index.tpl b/template/yoga/index.tpl index 814cce81f..b6ddd131b 100644 --- a/template/yoga/index.tpl +++ b/template/yoga/index.tpl @@ -10,7 +10,7 @@ {'Sort order'|@translate}: diff --git a/template/yoga/theme/Sylvia/themeconf.inc.php b/template/yoga/theme/Sylvia/themeconf.inc.php index 90e3c4e90..f165bef36 100644 --- a/template/yoga/theme/Sylvia/themeconf.inc.php +++ b/template/yoga/theme/Sylvia/themeconf.inc.php @@ -2,10 +2,9 @@ $themeconf = array( 'template' => 'yoga', 'theme' => 'Sylvia', - 'template_dir' => 'template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', + 'local_head' => '', ); ?> diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php index 5e3aef9a0..4858b7b50 100644 --- a/template/yoga/theme/clear/themeconf.inc.php +++ b/template/yoga/theme/clear/themeconf.inc.php @@ -2,10 +2,9 @@ $themeconf = array( 'template' => 'yoga', 'theme' => 'clear', - 'template_dir' => 'template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', + 'local_head' => '', ); ?> diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php index bdee2e443..d59843ba8 100644 --- a/template/yoga/theme/dark/themeconf.inc.php +++ b/template/yoga/theme/dark/themeconf.inc.php @@ -2,10 +2,9 @@ $themeconf = array( 'template' => 'yoga', 'theme' => 'dark', - 'template_dir' => 'template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', + 'local_head' => '', ); ?> diff --git a/template/yoga/theme/p0w0/themeconf.inc.php b/template/yoga/theme/p0w0/themeconf.inc.php index d24b701ca..063a60bc8 100644 --- a/template/yoga/theme/p0w0/themeconf.inc.php +++ b/template/yoga/theme/p0w0/themeconf.inc.php @@ -2,10 +2,9 @@ $themeconf = array( 'template' => 'yoga', 'theme' => 'p0w0', - 'template_dir' => 'template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', + 'local_head' => '', ); ?> diff --git a/template/yoga/theme/wipi/themeconf.inc.php b/template/yoga/theme/wipi/themeconf.inc.php index 4ac750e46..6644a7590 100644 --- a/template/yoga/theme/wipi/themeconf.inc.php +++ b/template/yoga/theme/wipi/themeconf.inc.php @@ -2,11 +2,10 @@ $themeconf = array( 'template' => 'yoga', 'theme' => 'wipi', - 'template_dir' => 'template/yoga', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', - 'local_head' => '', + 'local_head' => '', ); if ( !isset($lang['Theme: wipi']) ) { -- cgit v1.2.3