Files
Piwigo/themes/elegant/themeconf.inc.php
T
plegall 3e8f2b4c34 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.


git-svn-id: http://piwigo.org/svn/branches/2.7@30971 68402e56-0260-453c-a942-63ccdbb3a9ee
2015-02-16 09:02:26 +00:00

28 lines
614 B
PHP

<?php
/*
Theme Name: elegant
Version: 2.7.2
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('init', 'set_config_values_elegant');
function set_config_values_elegant()
{
global $conf, $template;
$config = unserialize( $conf['elegant'] );
$template->assign( 'elegant', $config );
}
?>