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

Last change on this file since 23251 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/*
3Theme Name: elegant
4Version: 2.5.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.