Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | Theme Name: Simple Sunset |
---|
4 | Version: 2.4.b |
---|
5 | Description: Theme sunset Compatible avec Simple Grey 4.0 and PWIGO 2.4 |
---|
6 | Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=349 |
---|
7 | Author: Gbo |
---|
8 | Author URI: http://www.photos.bouteyron.fr |
---|
9 | */ |
---|
10 | $themeconf = array( |
---|
11 | 'name' => 'Simple-sunset', |
---|
12 | 'parent' => 'simple', |
---|
13 | 'local_head' => 'local_head.tpl', |
---|
14 | 'url' => 'http://www.photos.bouteyron.fr'); |
---|
15 | global $user,$conf; |
---|
16 | //$user['maxwidth'] = 700; |
---|
17 | //$user['maxheight'] = 500; |
---|
18 | $conf['LLGBO_SETTINGS'] [5] = 'false'; // no title on frame |
---|
19 | $conf['LLGBO_TOOLTIP'][3] = '#222'; // tooltip background |
---|
20 | $conf['LLGBO_TOOLTIP'][5] = '#999'; // tooltip color |
---|
21 | $conf['LLGBO_SETTINGS'] ['rirs'] = 'true'; // Force javascript to Read Image Reel Size |
---|
22 | |
---|
23 | // llgbo frame with only 12 lines (erase 4 lines) |
---|
24 | for ($x = 25 ;$x < 33 ; $x++) |
---|
25 | {unset ($conf['LLGBO_FRAME'][$x]);} |
---|
26 | /* no menu random 19/12/2011 (too many url in google statistics) |
---|
27 | add_event_handler('blockmanager_apply', 'blockmanager_unset'); |
---|
28 | function blockmanager_unset ( $menu_ref_arr ) |
---|
29 | { global $user,$page;; |
---|
30 | $menu = & $menu_ref_arr[0]; |
---|
31 | if ( ($block = $menu->get_block('mbSpecials')) != null ) |
---|
32 | {unset( $block->data['random'] );} |
---|
33 | } */ |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.