Last change
on this file since 29054 was
23251,
checked in by flop25, 11 years ago
|
feature:2924
adding 3 options for the default behaviour of the panels
ToDo lang files
|
File size:
614 bytes
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Theme Name: elegant |
---|
4 | Version: 2.5.1 |
---|
5 | Description: Dark background, grayscale. |
---|
6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=685 |
---|
7 | Author: Piwigo team |
---|
8 | Author URI: http://piwigo.org |
---|
9 | */ |
---|
10 | $themeconf = array( |
---|
11 | 'name' => 'elegant', |
---|
12 | 'parent' => 'default', |
---|
13 | 'local_head' => 'local_head.tpl' |
---|
14 | ); |
---|
15 | // Need upgrade? |
---|
16 | global $conf; |
---|
17 | include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); |
---|
18 | |
---|
19 | add_event_handler('init', 'set_config_values_elegant'); |
---|
20 | function set_config_values_elegant() |
---|
21 | { |
---|
22 | global $conf, $template; |
---|
23 | $config = unserialize( $conf['elegant'] ); |
---|
24 | $template->assign( 'elegant', $config ); |
---|
25 | } |
---|
26 | |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.