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

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

Update release to 3.0.1 - fixes minor bug and change release for new languages es_ES, hu_HU and it_IT

  • Property svn:executable set to *
File size: 3.0 KB
Line 
1<?php
2/*
3Plugin Name: Grum Plugins Classes.3
4Version: 3.0.1
5Description: Collection de classes partagées entre mes plugins (existants, ou à venir) / Partaged classes between my plugins (actuals or futures)
6Plugin URI: http://phpwebgallery.net/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    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|         |            |
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
44|         |            |
45|         |            |
46|         |            |
47|         |            |
48|         |            |
49|         |            |
50|         |            |
51|         |            |
52
53
54:: TO DO
55
56:: WHAT ? WHY ?
57This plugin doesn't do anything itself. It just provide classes for others plugins.
58
59Classes 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
71See each file to know more about them
72--------------------------------------------------------------------------------
73*/
74
75if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
76
77define('GPC_DIR' , basename(dirname(__FILE__)));
78define('GPC_PATH' , PHPWG_PLUGINS_PATH . GPC_DIR . '/');
79
80include_once('gpc_version.inc.php'); // => Don't forget to update this file !!
81
82global $prefixeTable;
83
84//GPC admin interface is loaded and active only if in admin page
85if(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?>
Note: See TracBrowser for help on using the repository browser.