Changeset 3476 for extensions/CommentEditor
- Timestamp:
- Jun 30, 2009, 9:23:19 PM (15 years ago)
- Location:
- extensions/CommentEditor
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CommentEditor/include/ce_common.inc.php
r3475 r3476 1 1 <?php 2 /* $Id: ce_common.inc.php,v 1.1 3 2009/06/30 19:01:51Criss Exp $ */2 /* $Id: ce_common.inc.php,v 1.14 2009/06/30 19:22:06 Criss Exp $ */ 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 4 … … 8 8 9 9 // Version 10 define('CE_VERSION', '1.0. k');10 define('CE_VERSION', '1.0.l'); 11 11 12 12 // Directories -
extensions/CommentEditor/main.inc.php
r3475 r3476 1 1 <?php 2 /* $Id: main.inc.php,v 1.1 8 2009/06/30 19:01:50Criss Exp $ */2 /* $Id: main.inc.php,v 1.19 2009/06/30 19:22:05 Criss Exp $ */ 3 3 /* 4 4 Plugin Name: Comment Editor 5 Version: 1.0. k5 Version: 1.0.l 6 6 Description: Allow to edit comment 7 7 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=296 … … 11 11 12 12 /** History ** 13 2009-06-30 1.0.l 14 Fix bug on plugin update 15 13 16 2009-06-30 1.0.k 14 17 Add toolbar trigger for edit template -
extensions/CommentEditor/maintain.inc.php
r3475 r3476 11 11 12 12 function plugin_install($plugin_id, $version, &$errors) { 13 update_config($plugin_id, $version, $errors); 14 } 15 16 function plugin_activate($plugin_id, $version, &$errors) { 17 update_config($plugin_id, $version, $errors); 18 } 19 20 function plugin_deactivate($plugin_id) { 21 // Nothing special 22 } 23 24 function plugin_uninstall($plugin_id) { 25 include_once(CE_PATH . 'include/ce_common.inc.php'); 26 $uninstall = CE_Config::uninstall($plugin_id); 27 } 28 29 function update_config($plugin_id, $version, &$errors) { 13 30 include_once(CE_PATH . 'include/ce_common.inc.php'); 14 31 // Include language advices … … 22 39 $install = CE_Config::install($plugin_id, $ce_config_default); 23 40 } 24 25 function plugin_activate($plugin_id, $version, &$errors) {26 // Nothing special27 }28 29 function plugin_deactivate($plugin_id) {30 // Nothing special31 }32 33 function plugin_uninstall($plugin_id) {34 include_once(CE_PATH . 'include/ce_common.inc.php');35 $uninstall = CE_Config::uninstall($plugin_id);36 }37 38 41 ?>
Note: See TracChangeset
for help on using the changeset viewer.