Last change
on this file since 28669 was
28669,
checked in by ddtddt, 10 years ago
|
[Trunk] - themes -Language - prepare for 2.6.3
|
File size:
788 bytes
|
Rev | Line | |
---|
[13464] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Theme Name: elegant |
---|
[28669] | 4 | Version: 2.6.2 |
---|
[13464] | 5 | Description: Dark background, grayscale. |
---|
[21197] | 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=685 |
---|
[13464] | 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 | ); |
---|
[23251] | 15 | // Need upgrade? |
---|
| 16 | global $conf; |
---|
| 17 | include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php'); |
---|
[26971] | 18 | add_event_handler('loc_begin_picture', 'level_separator_elegant'); |
---|
| 19 | function level_separator_elegant() |
---|
| 20 | { |
---|
| 21 | global $template; |
---|
| 22 | $template->assign( 'LEVEL_SEPARATOR', '#&$' ); |
---|
| 23 | } |
---|
[23251] | 24 | add_event_handler('init', 'set_config_values_elegant'); |
---|
| 25 | function set_config_values_elegant() |
---|
| 26 | { |
---|
| 27 | global $conf, $template; |
---|
| 28 | $config = unserialize( $conf['elegant'] ); |
---|
| 29 | $template->assign( 'elegant', $config ); |
---|
| 30 | } |
---|
| 31 | |
---|
[13464] | 32 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.