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

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

Release 3.0.0 : the plugin has been completely rewritten

  • Property svn:executable set to *
File size: 2.6 KB
Line 
1<?php
2/*
3Plugin Name: Grum Plugins Classes.3
4Version: 3.0.0
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|         |            |
40
41
42:: TO DO
43
44:: WHAT ? WHY ?
45This plugin doesn't do anything itself. It just provide classes for others plugins.
46
47Classes version for this package
48    CommonPlugin.class.php
49    GPCAjax.class.php
50    GPCCss.class.php
51    GPCPagesNavigation.class.php
52    GPCPublicIntegration.class.php
53    GPCTables.class.php -v1.5
54    GPCTranslate.class.inc.php + google_translate.js
55    GPCUsersGroups.class.inc.php
56
57    genericjs.class.inc.php  + genericjs.js
58
59See each file to know more about them
60--------------------------------------------------------------------------------
61*/
62
63if(!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
64
65define('GPC_DIR' , basename(dirname(__FILE__)));
66define('GPC_PATH' , PHPWG_PLUGINS_PATH . GPC_DIR . '/');
67
68include_once('gpc_version.inc.php'); // => Don't forget to update this file !!
69
70global $prefixeTable;
71
72//GPC admin interface is loaded and active only if in admin page
73if(basename($_SERVER["PHP_SELF"])=='admin.php')
74{
75  include_once("gpc_aim.class.inc.php");
76
77  $obj = new GPC_AIM($prefixeTable, __FILE__);
78  $obj->initEvents();
79  set_plugin_data($plugin['id'], $obj);
80}
81
82?>
Note: See TracBrowser for help on using the repository browser.