Changeset 2243:86b0bd224843 for admin
- Timestamp:
- 10/04/13 11:06:08 (12 years ago)
- Branch:
- default
- Location:
- admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments_actions.php
r2066 r2243 16 16 require dirname(__FILE__).'/../inc/admin/prepend.php'; 17 17 18 if (isset($_REQUEST['redir'])) { 19 $u = explode('?',$_REQUEST['redir']); 20 $uri = $u[0]; 21 if (isset($u[1])) { 22 parse_str($u[1],$args); 23 } 24 $args['redir'] = $_REQUEST['redir']; 25 } else { 26 $uri = 'posts.php'; 27 $args=array(); 28 } 29 18 30 dcPage::check('usage,contentadmin'); 19 31 20 32 $comments_actions_page = new dcCommentsActionsPage($core,'comments.php'); 33 $comments_actions_page->setEnableRedirSelection(false); 21 34 22 35 $comments_actions_page->process(); -
admin/posts_actions.php
r1999 r2243 18 18 dcPage::check('usage,contentadmin'); 19 19 20 $posts_actions_page = new dcPostsActionsPage($core,'posts.php'); 20 if (isset($_REQUEST['redir'])) { 21 $u = explode('?',$_REQUEST['redir']); 22 $uri = $u[0]; 23 if (isset($u[1])) { 24 parse_str($u[1],$args); 25 } 26 $args['redir'] = $_REQUEST['redir']; 27 } else { 28 $uri = 'posts.php'; 29 $args=array(); 30 } 21 31 32 $posts_actions_page = new dcPostsActionsPage($core,$uri,$args); 33 $posts_actions_page->setEnableRedirSelection(false); 22 34 $posts_actions_page->process(); 23 35
Note: See TracChangeset
for help on using the changeset viewer.