Revision 1463,
1.1 KB
checked in by JcDenis, 14 years ago
(diff) |
whiteListCom 0.1:
- First lab release
- closes #226
|
Line | |
---|
1 | <?php |
---|
2 | # -- BEGIN LICENSE BLOCK ---------------------------------- |
---|
3 | # This file is part of whiteListCom, a plugin for Dotclear 2. |
---|
4 | # |
---|
5 | # Copyright (c) 2009 JC Denis and contributors |
---|
6 | # jcdenis@gdwd.com |
---|
7 | # |
---|
8 | # Licensed under the GPL version 2.0 license. |
---|
9 | # A copy of this license is available in LICENSE file or at |
---|
10 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
11 | # -- END LICENSE BLOCK ------------------------------------ |
---|
12 | |
---|
13 | if (!defined('DC_RC_PATH')){return;} |
---|
14 | |
---|
15 | global $__autoload, $core; |
---|
16 | |
---|
17 | $__autoload['whiteListComBehaviors'] = |
---|
18 | dirname(__FILE__).'/inc/lib.whitelistcom.behaviors.php'; |
---|
19 | |
---|
20 | $core->addBehavior( |
---|
21 | 'adminBeforeBlogSettingsUpdate', |
---|
22 | array('whiteListComBehaviors','adminBeforeBlogSettingsUpdate') |
---|
23 | ); |
---|
24 | |
---|
25 | $core->addBehavior( |
---|
26 | 'adminBlogPreferencesForm', |
---|
27 | array('whiteListComBehaviors','adminBlogPreferencesForm') |
---|
28 | ); |
---|
29 | |
---|
30 | $core->addBehavior( |
---|
31 | 'publicBeforeCommentPreview', |
---|
32 | array('whiteListComBehaviors','publicBeforeCommentPreview') |
---|
33 | ); |
---|
34 | |
---|
35 | $core->addBehavior( |
---|
36 | 'publicBeforeCommentCreate', |
---|
37 | array('whiteListComBehaviors','publicBeforeCommentCreate') |
---|
38 | ); |
---|
39 | |
---|
40 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.