source: extensions/CommentEditor/include/ce_common.inc.php @ 3439

Last change on this file since 3439 was 3439, checked in by Criss, 15 years ago

Add coment edit link for author even if he's not an admin
Code cleanup

File size: 1.2 KB
Line 
1<?php
2/* $Id: ce_common.inc.php,v 1.5 2009/06/18 21:02:12 Criss Exp $ */
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5define('CE_VERSION',       '1.0.f');
6define('CE_INCLUDE_DIR',   'include/');
7define('CE_CLASSES_DIR',   'classes/');
8define('CE_IMAGES_DIR',    'images/');
9define('CE_TEMPLATE_DIR',  'template/');
10define('CE_CLASSES',       CE_PATH.CE_CLASSES_DIR);
11define('CE_INCLUDE',       CE_PATH.CE_INCLUDE_DIR);
12define('CE_TEMPLATE',      CE_PATH.CE_TEMPLATE_DIR);
13define('CE_STYLE',         CE_INCLUDE.'edit.css');
14define('CE_ERRORS',        CE_INCLUDE.'errors.png');
15define('CE_INFOS',         CE_INCLUDE.'infos.png');
16define('CE_TYPE_INFO',     'info');
17define('CE_TYPE_ERROR',    'error');
18define('CE_PAGE',          'page');
19define('CE_PARAMS',        'params');
20define('CE_ID',            'comment_id');
21define('CE_ACTION',        'comment_action');
22define('CE_ACTION_NONE',   'none');
23define('CE_ACTION_EDIT',   'edit_comment');
24define('CE_ACTION_UPDATE', 'update_comment');
25define('CE_ACTION_ERROR',  'error_comment');
26
27// Include plugin functions
28@include_once(CE_INCLUDE.'ce_functions.inc.php');
29
30// Load class file
31ce_require_class("CE_Plugin");
32
33?>
Note: See TracBrowser for help on using the repository browser.