feature:2924

adding 3 options for the default behaviour of the panels
ToDo lang files

git-svn-id: http://piwigo.org/svn/trunk@23251 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25
2013-06-16 14:22:35 +00:00
parent 44fbcd7293
commit 4b5d7d1b4c
10 changed files with 782 additions and 13 deletions
+12
View File
@@ -12,4 +12,16 @@ $themeconf = array(
'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 );
}
?>