Revision 2720:bc400ebfc2e9,
974 bytes
checked in by Dsls, 11 years ago
(diff) |
One step further towards php hardcoded links annihilation in admin sources, more to come...
|
Rev | Line | |
---|
[0] | 1 | <?php |
---|
| 2 | # -- BEGIN LICENSE BLOCK --------------------------------------- |
---|
| 3 | # |
---|
| 4 | # This file is part of Dotclear 2. |
---|
| 5 | # |
---|
[1179] | 6 | # Copyright (c) 2003-2013 Olivier Meunier & Association Dotclear |
---|
[0] | 7 | # Licensed under the GPL version 2.0 license. |
---|
| 8 | # See LICENSE file or |
---|
| 9 | # http://www.gnu.org/licenses/old-licenses/gpl-2.0.html |
---|
| 10 | # |
---|
| 11 | # -- END LICENSE BLOCK ----------------------------------------- |
---|
| 12 | |
---|
[1905] | 13 | /* ### THIS FILE IS DEPRECATED ### */ |
---|
| 14 | /* ### IT IS ONLY USED FOR PLUGINS COMPATIBILITY ### */ |
---|
| 15 | |
---|
[0] | 16 | require dirname(__FILE__).'/../inc/admin/prepend.php'; |
---|
| 17 | |
---|
[2243] | 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 { |
---|
[2720] | 26 | $uri = $core->adminurl->get("admin.comments"); |
---|
[2243] | 27 | $args=array(); |
---|
| 28 | } |
---|
| 29 | |
---|
[0] | 30 | dcPage::check('usage,contentadmin'); |
---|
| 31 | |
---|
[2244] | 32 | $comments_actions_page = new dcCommentsActionsPage($core,$uri,$args); |
---|
[2243] | 33 | $comments_actions_page->setEnableRedirSelection(false); |
---|
[0] | 34 | |
---|
[1905] | 35 | $comments_actions_page->process(); |
---|
Note: See
TracBrowser
for help on using the repository browser.