1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/themes/elegant/themeconf.inc.php

28 lines
614 B
PHP
Raw Normal View History

2014-07-06 13:21:10 +02:00
<?php
/*
Theme Name: elegant
Version: 2.6.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 );
}
?>