source: branches/2.7/themes/elegant/themeconf.inc.php @ 30971

Last change on this file since 30971 was 30971, checked in by plg, 9 years ago

merge r30970 from trunk to branch 2.7

bug 3179 fixed: back merge r26971 (bug:2700) which introduced jBreadCrumb with this bug on Safari and not working. Maybe a future plugin instead.

File size: 614 bytes
Line 
1<?php
2/*
3Theme Name: elegant
4Version: 2.7.2
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.