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

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

[Trunk] - themes -Language - prepare for 2.6.3

File size: 788 bytes
RevLine 
[13464]1<?php
2/*
3Theme Name: elegant
[28669]4Version: 2.6.2
[13464]5Description: Dark background, grayscale.
[21197]6Theme URI: http://piwigo.org/ext/extension_view.php?eid=685
[13464]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);
[23251]15// Need upgrade?
16global $conf;
17include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php');
[26971]18add_event_handler('loc_begin_picture', 'level_separator_elegant');
19function level_separator_elegant()
20{
21  global $template;
22  $template->assign( 'LEVEL_SEPARATOR', '#&$' );
23}
[23251]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
[13464]32?>
Note: See TracBrowser for help on using the repository browser.