Changeset 3473 for extensions/CommentEditor/include/ce_common.inc.php
- Timestamp:
- Jun 29, 2009, 1:55:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CommentEditor/include/ce_common.inc.php
r3462 r3473 1 1 <?php 2 /* $Id: ce_common.inc.php,v 1.1 1 2009/06/26 09:49:27Criss Exp $ */2 /* $Id: ce_common.inc.php,v 1.12 2009/06/29 11:43:18 Criss Exp $ */ 3 3 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); 4 5 /* ************************** */ 6 /* ** Constants ** */ 7 /* ************************** */ 8 9 // Version update 10 define('CE_VERSION', '1.0.j'); 4 11 5 12 // Define constants … … 16 23 define('CE_AMDIN_TPL', CE_ROOT.CE_ADMIN_DIR.CE_TEMPLATE_DIR); 17 24 25 define('CE_OBSOLETE', 'obsolete.list'); 18 26 define('CE_ERRORS', CE_INCLUDE.'errors.png'); 19 27 define('CE_INFOS', CE_INCLUDE.'infos.png'); … … 29 37 define('CE_ACTION_ERROR', 'error_comment'); 30 38 39 // Config keys 40 if (isset($plugin)) { 41 define('CE_CFG_DB_KEY', $plugin['id']); 42 define('CE_CFG_DB_COMMENT', 'Configuration of plugin ' . $plugin['id']); 43 } 44 define('CE_CFG_DISPLAY_ERROR', 'display_error'); 45 define('CE_CFG_DISPLAY_INFO', 'display_info'); 46 define('CE_CFG_VERSION', 'version'); 47 48 // Templates usage 49 define('CE_CHECKED', 'checked="checked"'); 50 51 /* ************************** */ 52 /* ** Includes ** */ 53 /* ************************** */ 54 31 55 // Include plugin functions 32 56 @include_once(CE_INCLUDE.'ce_functions.inc.php'); … … 37 61 ce_require_class("CE_Plugin"); 38 62 39 // Config keys 40 if (isset($plugin)) { 41 define('CE_CFG_DB_KEY', $plugin['id']); 42 define('CE_CFG_DB_COMMENT', 'Configuration of plugin ' . $plugin['id']); 43 } 44 define('CE_CFG_DISPLAY_ERROR', 'display_error'); 45 define('CE_CFG_DISPLAY_INFO', 'display_info'); 63 /* ************************** */ 64 /* ** Variable definitions ** */ 65 /* ************************** */ 46 66 47 67 // Config default values … … 49 69 $ce_config_default[CE_CFG_DISPLAY_INFO] = true; 50 70 51 // Templates usage52 define('CE_CHECKED', 'checked="checked"')53 71 ?>
Note: See TracChangeset
for help on using the changeset viewer.