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 /template | |
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 'template')
-rw-r--r-- | template/yoga/index.tpl | 2 | ||||
-rw-r--r-- | template/yoga/theme/Sylvia/themeconf.inc.php | 3 | ||||
-rw-r--r-- | template/yoga/theme/clear/themeconf.inc.php | 3 | ||||
-rw-r--r-- | template/yoga/theme/dark/themeconf.inc.php | 3 | ||||
-rw-r--r-- | template/yoga/theme/p0w0/themeconf.inc.php | 3 | ||||
-rw-r--r-- | template/yoga/theme/wipi/themeconf.inc.php | 3 |
6 files changed, 6 insertions, 11 deletions
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}: <select onchange="document.location = this.options[this.selectedIndex].value;"> {foreach from=$image_orders item=image_order } - <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}}>{$image_order.DISPLAY}</option> + <option value="{$image_order.URL}"{if $image_order.SELECTED} selected="selected"{/if}>{$image_order.DISPLAY}</option> {/foreach} </select> </li> 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' => '<!-- no theme specific head content -->', + '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' => '<!-- no theme specific head content -->', + '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' => '<!-- no theme specific head content -->', + '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' => '<!-- no theme specific head content -->', + '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' => '<!-- no theme specific head content -->', + 'local_head' => '', ); if ( !isset($lang['Theme: wipi']) ) { |