Dotclear

source: plugins/pollsFactory/_uninstall.php @ 2240

Revision 2240, 1.7 KB checked in by JcDenis, 13 years ago (diff)

pollsFactory 1.2:

  • Fixed results order on image (thanks Kompozitor)
  • Fixed minor bug
Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3# This file is part of pollsFactory, a plugin for Dotclear 2.
4#
5# Copyright (c) 2009-2010 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 */ 'pollsFactory',
19     /* description */ __('delete all settings')
20);
21
22$this->addUserAction(
23     /* type */ 'plugins',
24     /* action */ 'delete',
25     /* ns */ 'pollsFactory',
26     /* description */ __('delete plugin files')
27);
28
29$this->addUserAction(
30     /* type */ 'versions',
31     /* action */ 'delete',
32     /* ns */ 'pollsFactory',
33     /* description */ __('delete the version number')
34);
35
36$this->addUserAction(
37     /* type */ 'table',
38     /* action */ 'delete',
39     /* ns */ 'post_option',
40     /* description */ sprintf(__('delete %s table'),'post_option')
41);
42
43# Keep table on direct action
44
45$this->addDirectAction(
46     /* type */ 'settings',
47     /* action */ 'delete_all',
48     /* ns */ 'pollsFactory',
49     /* description */ sprintf(__('delete all %s settings'),'pollsFactory')
50);
51
52$this->addDirectAction(
53     /* type */ 'versions',
54     /* action */ 'delete',
55     /* ns */ 'pollsFactory',
56     /* description */ sprintf(__('delete %s version number'),'pollsFactory')
57);
58
59$this->addDirectAction(
60     /* type */ 'plugins',
61     /* action */ 'delete',
62     /* ns */ 'pollsFactory',
63     /* description */ sprintf(__('delete %s plugin files'),'pollsFactory')
64);
65?>
Note: See TracBrowser for help on using the repository browser.

Sites map