source: extensions/GrumPluginClasses/main.inc.php @ 5918

Last change on this file since 5918 was 5918, checked in by grum, 14 years ago

Prepare release 3.1.0

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