| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /* |
|---|
| 3 | Theme Name: Luciano Amodio |
|---|
| 4 | Version: 2.1.a |
|---|
| 5 | Description: Luciano Amodio's theme |
|---|
| 6 | Theme URI: http://piwigo.org/ext/extension_view.php?eid=387 |
|---|
| 7 | Author: Luciano Amodio & P@t |
|---|
| 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' => false, |
|---|
| 16 | ); |
|---|
| 17 | |
|---|
| 18 | $conf['show_thumbnail_caption'] = false; |
|---|
| 19 | $conf['top_number'] = 12; |
|---|
| 20 | |
|---|
| 21 | // Remove comments link in Menu |
|---|
| 22 | add_event_handler('blockmanager_apply' , 'remove_comments_link'); |
|---|
| 23 | function remove_comments_link($menu_ref_arr) |
|---|
| 24 | { |
|---|
| 25 | $menu = & $menu_ref_arr[0]; |
|---|
| 26 | if (($block = $menu->get_block('mbMenu')) != null ) |
|---|
| 27 | unset($block->data['comments']); |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | global $user; |
|---|
| 31 | |
|---|
| 32 | $user['nb_image_line'] = 4; |
|---|
| 33 | $user['nb_line_page'] = 3; |
|---|
| 34 | $user['nb_image_page'] = 12; |
|---|
| 35 | $user['maxwidth'] = 800; |
|---|
| 36 | $user['maxheight'] = 600; |
|---|
| 37 | |
|---|
| 38 | ?> |
|---|