1 | <?php |
---|
2 | /* |
---|
3 | Theme Name: Luciano Amodio |
---|
4 | Version: auto |
---|
5 | Description: Luciano Amodio's theme |
---|
6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=387 |
---|
7 | Author: Luciano Amodio & P@t & plg |
---|
8 | Author URI: http://www.lucianoamodio.it/portfolio/ |
---|
9 | */ |
---|
10 | |
---|
11 | $themeconf = array( |
---|
12 | 'parent' => 'default', |
---|
13 | 'icon_dir' => 'themes/luciano/icon', |
---|
14 | 'local_head' => 'local_head.tpl', |
---|
15 | 'load_parent_css' => true, // false, |
---|
16 | 'load_parent_local_head' => false, |
---|
17 | ); |
---|
18 | |
---|
19 | $conf['show_thumbnail_caption'] = false; |
---|
20 | $conf['index_posted_date_icon'] = false; |
---|
21 | $conf['index_created_date_icon'] = false; |
---|
22 | $conf['top_number'] = 12; |
---|
23 | |
---|
24 | // Remove comments and calendar links in menubar |
---|
25 | add_event_handler('blockmanager_apply' , 'remove_comments_and_calendar_links'); |
---|
26 | function remove_comments_and_calendar_links($menu_ref_arr) |
---|
27 | { |
---|
28 | $menu = & $menu_ref_arr[0]; |
---|
29 | if (($block = $menu->get_block('mbMenu')) != null ) |
---|
30 | unset($block->data['comments']); |
---|
31 | if (($block = $menu->get_block('mbSpecials')) != null ) |
---|
32 | unset($block->data['calendar']); |
---|
33 | } |
---|
34 | |
---|
35 | global $user; |
---|
36 | |
---|
37 | $user['nb_image_line'] = 4; |
---|
38 | $user['nb_line_page'] = 3; |
---|
39 | $user['nb_image_page'] = 12; |
---|
40 | $user['maxwidth'] = 800; |
---|
41 | $user['maxheight'] = 600; |
---|
42 | |
---|
43 | ?> |
---|