[5921] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Theme Name: Luciano Amodio |
---|
[16053] | 4 | Version: auto |
---|
[5921] | 5 | Description: Luciano Amodio's theme |
---|
| 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=387 |
---|
[16053] | 7 | Author: Luciano Amodio & P@t & plg |
---|
[5921] | 8 | Author URI: http://www.lucianoamodio.it/portfolio/ |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | $themeconf = array( |
---|
[6007] | 12 | 'parent' => 'default', |
---|
| 13 | 'icon_dir' => 'themes/luciano/icon', |
---|
| 14 | 'local_head' => 'local_head.tpl', |
---|
[16048] | 15 | 'load_parent_css' => true, // false, |
---|
[6007] | 16 | 'load_parent_local_head' => false, |
---|
[5921] | 17 | ); |
---|
| 18 | |
---|
[6019] | 19 | $conf['show_thumbnail_caption'] = false; |
---|
| 20 | $conf['index_posted_date_icon'] = false; |
---|
| 21 | $conf['index_created_date_icon'] = false; |
---|
[5972] | 22 | $conf['top_number'] = 12; |
---|
[5921] | 23 | |
---|
[6019] | 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) |
---|
[5921] | 27 | { |
---|
| 28 | $menu = & $menu_ref_arr[0]; |
---|
| 29 | if (($block = $menu->get_block('mbMenu')) != null ) |
---|
| 30 | unset($block->data['comments']); |
---|
[6019] | 31 | if (($block = $menu->get_block('mbSpecials')) != null ) |
---|
| 32 | unset($block->data['calendar']); |
---|
[5921] | 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 | |
---|
[5992] | 43 | ?> |
---|