- 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:
parent
26474d349f
commit
9aec2fb5e7
11 changed files with 56 additions and 37 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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' => '',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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' => '',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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' => '',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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' => '',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -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']) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue