blob: e382a04b65a3c276e43aa16a98e7b89fb3df943e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?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 );
}
?>
|