Last change
on this file since 10779 was
10779,
checked in by plg, 13 years ago
|
add Simple Sunset into SVN (current version 2.1.b, compatible with Piwigo 2.1/2.2)
|
File size:
964 bytes
|
Rev | Line | |
---|
[10779] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Theme Name: Simple Sunset |
---|
| 4 | Version: 2.1.a |
---|
| 5 | Description: Theme sunset for Simple |
---|
| 6 | Theme URI: http://fr.piwigo.org/ext/extension_view.php?eid=289 |
---|
| 7 | Author: EX-FTB |
---|
| 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 | 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 |
---|
| 21 | add_event_handler('blockmanager_apply', 'blockmanager_unset'); |
---|
| 22 | function blockmanager_unset ( $menu_ref_arr ) |
---|
| 23 | { global $user,$page;; |
---|
| 24 | $menu = & $menu_ref_arr[0]; |
---|
| 25 | if ( ($block = $menu->get_block('mbSpecials')) != null ) |
---|
| 26 | {unset( $block->data['calendar'] );} |
---|
| 27 | } |
---|
| 28 | // llgbo frame with only 7 lines |
---|
| 29 | for ($x = 15 ;$x < 33 ; $x++) |
---|
| 30 | {unset ($conf['LLGBO_FRAME'][$x]);} |
---|
| 31 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.