source: branches/2.6/themes/elegant/themeconf.inc.php @ 27886

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

[2.6] - theme - prepare for 2.6.2

File size: 614 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');
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.