source: extensions/luciano/themeconf.inc.php @ 5972

Last change on this file since 5972 was 5972, checked in by patdenice, 14 years ago

Minor corrections

File size: 889 bytes
Line 
1<?php
2/*
3Theme Name: Luciano Amodio
4Version: 2.1.a
5Description: Luciano Amodio's theme
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=387
7Author: Luciano Amodio & P@t
8Author 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$conf['top_number'] = 12;
20
21// Remove comments link in Menu
22add_event_handler('blockmanager_apply' , 'remove_comments_link');
23function 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
30global $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?>
Note: See TracBrowser for help on using the repository browser.