source: trunk/themes/elegant/themeconf.inc.php @ 27885

Last change on this file since 27885 was 27885, checked in by ddtddt, 10 years ago

[Trunk] - theme - prepare for 2.6.2

File size: 788 bytes
Line 
1<?php
2/*
3Theme Name: elegant
4Version: 2.6.1
5Description: Dark background, grayscale.
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=685
7Author: Piwigo team
8Author URI: http://piwigo.org
9*/
10$themeconf = array(
11  'name'  => 'elegant',
12  'parent' => 'default',
13  'local_head'  => 'local_head.tpl'
14);
15// Need upgrade?
16global $conf;
17include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php');
18add_event_handler('loc_begin_picture', 'level_separator_elegant');
19function level_separator_elegant()
20{
21  global $template;
22  $template->assign( 'LEVEL_SEPARATOR', '#&$' );
23}
24add_event_handler('init', 'set_config_values_elegant');
25function set_config_values_elegant()
26{
27  global $conf, $template;
28  $config = unserialize( $conf['elegant'] );
29  $template->assign( 'elegant', $config );
30}
31
32?>
Note: See TracBrowser for help on using the repository browser.