Last change
on this file since 4896 was
4716,
checked in by vdigital, 15 years ago
|
[Update] - Juza Theme is full working (Not tested with plugins).
Recommended organization: Don't mixed Pictures and subcategories in a category.
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
1010 bytes
|
Rev | Line | |
---|
[4439] | 1 | <?php |
---|
[4482] | 2 | /* |
---|
| 3 | Plugin Name: Juza |
---|
| 4 | Version: 2.0.1 |
---|
| 5 | Description: Juza is an advanced theme of Piwigo |
---|
| 6 | Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=auto |
---|
| 7 | Author: Piwigo team |
---|
| 8 | Author URI: http://www.vdigital.org |
---|
| 9 | */ |
---|
| 10 | define('JUZA_VER', '2.0.1'); |
---|
| 11 | define('JUZA_DIR' , basename(dirname(__FILE__))); |
---|
| 12 | define('JUZA_PATH' , 'template/yoga/theme/' . JUZA_DIR . '/'); |
---|
[4439] | 13 | $themeconf = array( |
---|
| 14 | 'template' => 'yoga', |
---|
[4482] | 15 | 'theme' => JUZA_DIR, |
---|
| 16 | 'icon_dir' => JUZA_PATH . 'icon', |
---|
[4439] | 17 | 'admin_icon_dir' => 'template/yoga/icon/admin', |
---|
[4482] | 18 | 'mime_icon_dir' => JUZA_PATH . 'icon/mimetypes/', |
---|
| 19 | 'local_head' => '', |
---|
[4439] | 20 | ); |
---|
[4516] | 21 | global $user, $conf, $lang; |
---|
[4537] | 22 | $user["expand"] = false; |
---|
[4530] | 23 | $user['nb_image_line']= 7; |
---|
| 24 | $user['nb_line_page']= 1; |
---|
| 25 | $user['nb_image_page']= 7; |
---|
[4516] | 26 | load_language('lang', JUZA_PATH); |
---|
[4716] | 27 | /* No handlers or plugin handlers agreed */ |
---|
| 28 | if ($conf['enable_plugins']) { |
---|
[4482] | 29 | include_once(JUZA_PATH.'include/functions.inc.php'); |
---|
| 30 | add_event_handler('loc_after_page_header', 'Juza_hook', 20); |
---|
[4659] | 31 | add_event_handler('blockmanager_apply', 'Juza_tags'); |
---|
[4482] | 32 | } |
---|
[4439] | 33 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.