Last change
on this file since 20146 was
20090,
checked in by mistic100, 12 years ago
|
- add webservices
- add mail function
- add admin list
- add admin export function
- try to deal with Gthumb+
- activate multisize dropdown menu of collection page
TODO : use webservices instead of toggle_image.php
|
File size:
665 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | defined('USER_COLLEC_ID') or define('USER_COLLEC_ID', basename(dirname(__FILE__))); |
---|
5 | include_once(PHPWG_PLUGINS_PATH . USER_COLLEC_ID . '/include/install.inc.php'); |
---|
6 | |
---|
7 | function plugin_install() |
---|
8 | { |
---|
9 | user_collections_install(); |
---|
10 | |
---|
11 | define('user_collections_installed', true); |
---|
12 | } |
---|
13 | |
---|
14 | function plugin_activate() |
---|
15 | { |
---|
16 | if (!defined('user_collections_intalled')) |
---|
17 | { |
---|
18 | user_collections_install(); |
---|
19 | } |
---|
20 | } |
---|
21 | |
---|
22 | function plugin_uninstall() |
---|
23 | { |
---|
24 | global $prefixeTable; |
---|
25 | |
---|
26 | pwg_query('DROP TABLE IF EXISTS `'.$prefixeTable.'collections`;'); |
---|
27 | pwg_query('DROP TABLE IF EXISTS `'.$prefixeTable.'collection_images`;'); |
---|
28 | } |
---|
29 | |
---|
30 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.