From eb51935eba26fba4f196888694e92c559e36cdd9 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Mon, 19 Jun 2006 17:56:31 +0000 Subject: improve : Allow a theme to add code in page html header (feature 424) git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1368 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/header.tpl | 5 +++-- template/yoga/theme/clear/themeconf.inc.php | 3 ++- template/yoga/theme/dark/themeconf.inc.php | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index 280d011a2..d3b48b65b 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -9,11 +9,12 @@ the "text/nonsense" prevents gecko based browsers to load it --> +{themeconf:local_head} @@ -23,7 +24,7 @@ the "text/nonsense" prevents gecko based browsers to load it --> {GALLERY_TITLE}:{PAGE_TITLE} diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php index 10b5d104b..369818a1c 100644 --- a/template/yoga/theme/clear/themeconf.inc.php +++ b/template/yoga/theme/clear/themeconf.inc.php @@ -4,6 +4,7 @@ $themeconf = array( 'theme' => 'clear', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/' + 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', + 'local_head' => '' ); ?> diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php index 9785a2916..1051e5f3e 100644 --- a/template/yoga/theme/dark/themeconf.inc.php +++ b/template/yoga/theme/dark/themeconf.inc.php @@ -4,6 +4,7 @@ $themeconf = array( 'theme' => 'dark', 'icon_dir' => 'template/yoga/icon', 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/' + 'mime_icon_dir' => 'template/yoga/icon/mimetypes/', + 'local_head' => '' ); ?> -- cgit v1.2.3