source: extensions/simple_themes/simple-sunset/themeconf.inc.php @ 10779

Last change on this file since 10779 was 10779, checked in by plg, 14 years ago

add Simple Sunset into SVN (current version 2.1.b, compatible with Piwigo 2.1/2.2)

File size: 964 bytes
Line 
1<?php
2/*
3Theme Name: Simple Sunset
4Version: 2.1.a
5Description: Theme sunset for Simple
6Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=289
7Author:   EX-FTB
8Author URI: http://www.photos.bouteyron.fr
9*/
10$themeconf = array(
11  'name'  => 'Simple-sunset',
12  'parent' => 'simple',
13  'local_head'    => 'local_head.tpl');
14 global $user,$conf;
15$user['maxwidth'] = 700;
16$user['maxheight'] = 500;
17$conf['LLGBO_SETTINGS'] [5]  = 'false'; // no  title on frame
18$conf['LLGBO_TOOLTIP'][3] = '#222'; // tooltip background
19$conf['LLGBO_TOOLTIP'][5] = '#666666'; // tooltip color
20// no  menu calendar
21add_event_handler('blockmanager_apply', 'blockmanager_unset');
22function blockmanager_unset ( $menu_ref_arr )
23  { global $user,$page;;
24    $menu = & $menu_ref_arr[0];
25if ( ($block = $menu->get_block('mbSpecials')) != null )
26        {unset( $block->data['calendar'] );}
27}
28// llgbo frame with only 7 lines
29for ($x = 15  ;$x < 33  ; $x++)
30 {unset ($conf['LLGBO_FRAME'][$x]);}
31?>
Note: See TracBrowser for help on using the repository browser.