source: extensions/Juza/themeconf.inc.php @ 4494

Last change on this file since 4494 was 4494, checked in by vdigital, 15 years ago

[Update] For Juza - Juza Theme Configuration Menu

  • Activate Juza handlers
  • Index picture max-width [300:885]
  • Index picture cropping-height [110:400]
  • Index picture top-shift [-320:0]
  • Auto cropping and shifting

Pendings:

  • Configuration (Apply)
  • Exception management
  • Menubar
  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 899 bytes
Line 
1<?php
2/*
3Plugin Name: Juza
4Version: 2.0.1
5Description: Juza is an advanced theme of Piwigo
6Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=auto
7Author: Piwigo team
8Author URI: http://www.vdigital.org
9*/
10define('JUZA_VER', '2.0.1'); 
11define('JUZA_DIR' , basename(dirname(__FILE__)));
12define('JUZA_PATH' , 'template/yoga/theme/' . JUZA_DIR . '/');
13$themeconf = array(
14  'template' => 'yoga',
15  'theme' => JUZA_DIR,
16  'icon_dir' => JUZA_PATH . 'icon',
17  'admin_icon_dir' => 'template/yoga/icon/admin',
18  'mime_icon_dir' => JUZA_PATH . 'icon/mimetypes/',
19  'local_head' => '',
20);
21global $user, $conf;
22$user["expand"] = true; /* Forced to assign subcategory links inside each category on index page */
23
24/* No handlers at all or Open ? */
25if ($conf['enable_plugins']) { 
26  include_once(JUZA_PATH.'include/functions.inc.php');
27  add_event_handler('loc_after_page_header', 'Juza_hook', 20);
28}
29?>
Note: See TracBrowser for help on using the repository browser.