- allow template class to be instantiated with an empty theme (in plugins for example)
- local_head must now be defined in the themeconf.inc.php otherwise not taken into account (avoid several calls to file_exists) - renamed themeconf['theme'] to themeconf['name'] (this is what it is themeconf[theme] is confusing) git-svn-id: http://piwigo.org/svn/trunk@5177 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
15fdea6925
commit
4f80b6095c
8 changed files with 22 additions and 26 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
$themeconf = array(
|
||||
'theme' => 'clear',
|
||||
'name' => 'clear',
|
||||
'parent' => 'default',
|
||||
'admin_icon_dir' => 'admin/themes/clear/icon',
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
$themeconf = array(
|
||||
'theme' => 'default',
|
||||
'name' => 'default',
|
||||
'icon_dir' => 'themes/default/icon',
|
||||
'admin_icon_dir' => 'admin/themes/default/icon',
|
||||
'mime_icon_dir' => 'themes/default/icon/mimetypes/',
|
||||
'local_head' => 'local_head.tpl',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
$themeconf = array(
|
||||
'theme' => 'roma',
|
||||
'name' => 'roma',
|
||||
'parent' => 'default',
|
||||
);
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue