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

Last change on this file since 16048 was 16048, checked in by plg, 12 years ago

first step to make Luciano compatible with Piwigo 2.4

File size: 1.2 KB
RevLine 
[5921]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(
[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
25add_event_handler('blockmanager_apply' , 'remove_comments_and_calendar_links');
26function 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
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
[5992]43?>
Note: See TracBrowser for help on using the repository browser.