Changeset 3140
- Timestamp:
- 07/10/13 09:01:49 (10 years ago)
- Location:
- plugins/postslistOptions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/postslistOptions/_admin.php
r2639 r3140 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 3 4 # This file is part of postslistOptions, a plugin for Dotclear 2. 4 5 # 5 # Copyright (c) 2009-201 0 JCDenis and contributors6 # jcdenis@gdwd.com6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 7 # contact@jcdenis.fr http://jcd.lv 7 8 # 8 9 # Licensed under the GPL version 2.0 license. 9 10 # A copy of this license is available in LICENSE file or at 10 11 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 12 # 11 13 # -- END LICENSE BLOCK ------------------------------------ 12 14 13 15 if (!defined('DC_CONTEXT_ADMIN')){return;} 14 16 15 if ( $core->auth->check('admin',$core->blog->id)) {16 $core->addBehavior('adminPostsActionsCombo',array('behaviorsPostlistOptions','adminPostsActionsCombo')); 17 $core->addBehavior('adminPostsActionsContent',array('behaviorsPostlistOptions','adminPostsActionsContent'));18 $core->addBehavior('adminPostsActions',array('behaviorsPostlistOptions','adminPostsActions'));19 } 17 if (!$core->auth->check('admin',$core->blog->id)) { return; } 18 19 $core->addBehavior('adminPostsActionsCombo',array('behaviorsPostlistOptions','adminPostsActionsCombo')); 20 $core->addBehavior('adminPostsActionsContent',array('behaviorsPostlistOptions','adminPostsActionsContent')); 21 $core->addBehavior('adminPostsActions',array('behaviorsPostlistOptions','adminPostsActions')); 20 22 21 23 class behaviorsPostlistOptions … … 94 96 break; 95 97 } 96 if (!$core->error->flag()) {97 http::redirect($redir);98 }98 } 99 if (!$core->error->flag()) { 100 http::redirect($redir); 99 101 } 100 102 } -
plugins/postslistOptions/_define.php
r2639 r3140 1 1 <?php 2 2 # -- BEGIN LICENSE BLOCK ---------------------------------- 3 # 3 4 # This file is part of postslistOptions, a plugin for Dotclear 2. 4 5 # 5 # Copyright (c) 2009-201 0 JCDenis and contributors6 # jcdenis@gdwd.com6 # Copyright (c) 2009-2013 Jean-Christian Denis and contributors 7 # contact@jcdenis.fr http://jcd.lv 7 8 # 8 9 # Licensed under the GPL version 2.0 license. 9 10 # A copy of this license is available in LICENSE file or at 10 11 # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 12 # 11 13 # -- END LICENSE BLOCK ------------------------------------ 12 14 … … 17 19 /* Description*/ "Add some options on admin posts list", 18 20 /* Author */ "JC Denis", 19 /* Version */ ' 0.1',21 /* Version */ '2013.07.10', 20 22 /* Permissions */ 'admin' 21 23 ); 22 /* date */ #2010091023 24 ?> -
plugins/postslistOptions/release.txt
r2639 r3140 1 0.1 20100910 1 2013.07.10 2 * Fixed action on multiple posts 3 4 0.1 20100910 2 5 * First lab release (closes #557)
Note: See TracChangeset
for help on using the changeset viewer.