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

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

[Trunk] - theme 2.5 -> 2.6

File size: 614 bytes
Line 
1<?php
2/*
3Theme Name: elegant
4Version: 2.6.0
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');
18
19add_event_handler('init', 'set_config_values_elegant');
20function 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.