source: extensions/Slimi/themeconf.inc.php @ 31810

Last change on this file since 31810 was 28586, checked in by Miklfe, 10 years ago

Compatibilité avec Slim

File size: 754 bytes
Line 
1<?php
2/*
3Theme Name: Slimi
4Version: 1.3
5Description: Piwigo theme.
6Theme URI: http://piwigo.org/ext/extension_view.php?eid=644
7Author:Miklfe [piwitheme.fr]
8Author URI: http://piwitheme.fr
9*/
10
11
12        global $conf, $user, $Slimi, $template;
13
14$themeconf = array(
15        'name'                  => 'Slimi',
16        'parent'                => 'Slim',
17        'local_head'    => 'local_head.tpl',
18
19
20);
21
22
23
24$Slimi = array_merge( unserialize( $conf['Slimi'] ), (array)$Slimi );
25
26
27
28if($Slimi['lytebox_slimi']=='1')
29{
30   add_event_handler('blockmanager_apply', 'no_comm' );
31   function no_comm( $menu_ref_arr )
32{
33    $menu = & $menu_ref_arr[0];
34        $block = $menu->get_block( 'mbMenu' );
35        unset( $block->data['comments'] );
36}
37}
38
39
40add_event_handler('init', 'load_Slimi' );
41function load_Slimi()
42{
43        include('slimi.php');
44}
45?>
Note: See TracBrowser for help on using the repository browser.