[5550] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | Plugin Name: Grum Plugins Classes.3 |
---|
[5797] | 4 | Version: 3.0.1 |
---|
[5550] | 5 | Description: Collection de classes partagées entre mes plugins (existants, ou à venir) / Partaged classes between my plugins (actuals or futures) |
---|
| 6 | Plugin URI: http://phpwebgallery.net/ext/extension_view.php?eid=199 |
---|
| 7 | Author: grum@piwigo.org |
---|
| 8 | Author URI: http://photos.grum.fr/ |
---|
| 9 | */ |
---|
| 10 | |
---|
| 11 | /* |
---|
| 12 | -------------------------------------------------------------------------------- |
---|
| 13 | Author : Grum |
---|
| 14 | email : grum@piwigo.org |
---|
| 15 | website : http://photos.grum.fr |
---|
| 16 | PWG user : http://forum.phpwebgallery.net/profile.php?id=3706 |
---|
| 17 | |
---|
| 18 | << May the Little SpaceFrog be with you ! >> |
---|
| 19 | -------------------------------------------------------------------------------- |
---|
| 20 | |
---|
| 21 | :: HISTORY |
---|
| 22 | |
---|
| 23 | | release | date | |
---|
| 24 | | 2.0.0 | 2008/07/20 | * convert classes for piwigo 2.0 |
---|
| 25 | | | | |
---|
| 26 | | 2.0.1 | 2008/12/28 | * convert classe tables.class.inc to php5 |
---|
| 27 | | | | |
---|
| 28 | | 2.0.2 | 2009/04/26 | * add setOptions/getOptions for GPCPagesNavigation class |
---|
| 29 | | | | * add option to set first/prev/next/last textes |
---|
| 30 | | | | |
---|
| 31 | | 2.0.3 | 2009/07/24 | * modify common_plugin class config loader (r2.0.1) |
---|
| 32 | | | | |
---|
| 33 | | 2.0.4 | 2009/11/29 | * modify users class |
---|
| 34 | | | | |
---|
| 35 | | 3.0.0 | 2010/03/28 | * Uses piwigo pwg_db_* functions instead of mysql_* functions |
---|
| 36 | | | | * update classes & functions names |
---|
| 37 | | | | * include the JpegMetaData class |
---|
| 38 | | | | |
---|
[5797] | 39 | | 3.0.1 | 2010/04/11 | * little bug on the template (call of an undefined var) |
---|
| 40 | | | | * Add new languages |
---|
| 41 | | | | . es_ES |
---|
| 42 | | | | . hu_HU |
---|
| 43 | | | | . it_IT |
---|
[5550] | 44 | | | | |
---|
[5797] | 45 | | | | |
---|
| 46 | | | | |
---|
| 47 | | | | |
---|
| 48 | | | | |
---|
| 49 | | | | |
---|
| 50 | | | | |
---|
| 51 | | | | |
---|
[5550] | 52 | |
---|
| 53 | |
---|
| 54 | :: TO DO |
---|
| 55 | |
---|
| 56 | :: WHAT ? WHY ? |
---|
| 57 | This plugin doesn't do anything itself. It just provide classes for others plugins. |
---|
| 58 | |
---|
| 59 | Classes version for this package |
---|
| 60 | CommonPlugin.class.php |
---|
| 61 | GPCAjax.class.php |
---|
| 62 | GPCCss.class.php |
---|
| 63 | GPCPagesNavigation.class.php |
---|
| 64 | GPCPublicIntegration.class.php |
---|
| 65 | GPCTables.class.php -v1.5 |
---|
| 66 | GPCTranslate.class.inc.php + google_translate.js |
---|
| 67 | GPCUsersGroups.class.inc.php |
---|
| 68 | |
---|
| 69 | genericjs.class.inc.php + genericjs.js |
---|
| 70 | |
---|
| 71 | See each file to know more about them |
---|
| 72 | -------------------------------------------------------------------------------- |
---|
| 73 | */ |
---|
| 74 | |
---|
| 75 | if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
| 76 | |
---|
| 77 | define('GPC_DIR' , basename(dirname(__FILE__))); |
---|
| 78 | define('GPC_PATH' , PHPWG_PLUGINS_PATH . GPC_DIR . '/'); |
---|
| 79 | |
---|
| 80 | include_once('gpc_version.inc.php'); // => Don't forget to update this file !! |
---|
| 81 | |
---|
| 82 | global $prefixeTable; |
---|
| 83 | |
---|
| 84 | //GPC admin interface is loaded and active only if in admin page |
---|
| 85 | if(basename($_SERVER["PHP_SELF"])=='admin.php') |
---|
| 86 | { |
---|
| 87 | include_once("gpc_aim.class.inc.php"); |
---|
| 88 | |
---|
| 89 | $obj = new GPC_AIM($prefixeTable, __FILE__); |
---|
| 90 | $obj->initEvents(); |
---|
| 91 | set_plugin_data($plugin['id'], $obj); |
---|
| 92 | } |
---|
| 93 | |
---|
| 94 | ?> |
---|