Last change
on this file since 5959 was
5922,
checked in by patdenice, 15 years ago
|
[Luciano Amodio Theme] First corrections
|
File size:
863 bytes
|
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 | 'icon_dir' => 'themes/luciano/icon', |
---|
13 | 'local_head' => 'local_head.tpl', |
---|
14 | ); |
---|
15 | |
---|
16 | $this->set_template_dir(PHPWG_THEMES_PATH.'default/template'); |
---|
17 | |
---|
18 | $conf['show_thumbnail_caption'] = false; |
---|
19 | |
---|
20 | // Remove comments link in Menu |
---|
21 | add_event_handler('blockmanager_apply' , 'remove_comments_link'); |
---|
22 | function remove_comments_link($menu_ref_arr) |
---|
23 | { |
---|
24 | $menu = & $menu_ref_arr[0]; |
---|
25 | if (($block = $menu->get_block('mbMenu')) != null ) |
---|
26 | unset($block->data['comments']); |
---|
27 | } |
---|
28 | |
---|
29 | global $user; |
---|
30 | |
---|
31 | $user['nb_image_line'] = 4; |
---|
32 | $user['nb_line_page'] = 3; |
---|
33 | $user['nb_image_page'] = 12; |
---|
34 | $user['maxwidth'] = 800; |
---|
35 | $user['maxheight'] = 600; |
---|
36 | |
---|
37 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.