piwigo/themes/elegant/themeconf.inc.php
ddtddt 3aa186abe9 [Trunk] - theme - prepare for 2.6.2
git-svn-id: http://piwigo.org/svn/trunk@27885 68402e56-0260-453c-a942-63ccdbb3a9ee
2014-03-23 06:41:07 +00:00

32 lines
788 B
PHP

<?php
/*
Theme Name: elegant
Version: 2.6.1
Description: Dark background, grayscale.
Theme URI: http://piwigo.org/ext/extension_view.php?eid=685
Author: Piwigo team
Author URI: http://piwigo.org
*/
$themeconf = array(
'name' => 'elegant',
'parent' => 'default',
'local_head' => 'local_head.tpl'
);
// Need upgrade?
global $conf;
include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php');
add_event_handler('loc_begin_picture', 'level_separator_elegant');
function level_separator_elegant()
{
global $template;
$template->assign( 'LEVEL_SEPARATOR', '#&$' );
}
add_event_handler('init', 'set_config_values_elegant');
function set_config_values_elegant()
{
global $conf, $template;
$config = unserialize( $conf['elegant'] );
$template->assign( 'elegant', $config );
}
?>