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

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

Lot of corrections...

File size: 1.2 KB
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  'parent'                 => 'default',
13  'icon_dir'               => 'themes/luciano/icon',
14  'local_head'             => 'local_head.tpl',
15  'load_parent_css'        => 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
25add_event_handler('blockmanager_apply' , 'remove_comments_and_calendar_links');
26function 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
35global $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?>
Note: See TracBrowser for help on using the repository browser.