Dotclear

source: plugins/dcFilterDuplicate/_uninstall.php @ 1981

Revision 1981, 1.5 KB checked in by JcDenis, 14 years ago (diff)

dcFilterDuplicate 0.2:

  • Fixed trigger blogs
  • Enabled min length of comment to filter
  • Prepared DC 2.2 Break
  • Added versioning
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of dcFilterDuplicate, 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
13if (!defined('DC_CONTEXT_ADMIN')){return;}
14
15$this->addUserAction(
16     /* type */ 'settings',
17     /* action */ 'delete_all',
18     /* ns */ 'dcFilterDuplicate',
19     /* description */ __('delete all settings')
20);
21
22$this->addUserAction(
23     /* type */ 'plugins',
24     /* action */ 'delete',
25     /* ns */ 'dcFilterDuplicate',
26     /* description */ __('delete plugin files')
27);
28
29$this->addUserAction(
30     /* type */ 'versions',
31     /* action */ 'delete',
32     /* ns */ 'dcFilterDuplicate',
33     /* description */ __('delete the version number')
34);
35
36$this->addDirectAction(
37     /* type */ 'settings',
38     /* action */ 'delete_all',
39     /* ns */ 'dcFilterDuplicate',
40     /* description */ sprintf(__('delete all %s settings'),'dcFilterDuplicate')
41);
42
43$this->addDirectAction(
44     /* type */ 'versions',
45     /* action */ 'delete',
46     /* ns */ 'dcFilterDuplicate',
47     /* description */ sprintf(__('delete %s version number'),'dcFilterDuplicate')
48);
49
50$this->addDirectAction(
51     /* type */ 'plugins',
52     /* action */ 'delete',
53     /* ns */ 'dcFilterDuplicate',
54     /* description */ sprintf(__('delete %s plugin files'),'dcFilterDuplicate')
55);
56?>
Note: See TracBrowser for help on using the repository browser.

Sites map