Revision 3874:ab8368569446,
741 bytes
checked in by franck <carnet.franck.paul@…>, 7 years ago
(diff) |
short notation for array (array() → [])
|
Rev | Line | |
---|
[0] | 1 | <?php |
---|
[3731] | 2 | /** |
---|
| 3 | * @package Dotclear |
---|
| 4 | * @subpackage Backend |
---|
| 5 | * |
---|
| 6 | * @copyright Olivier Meunier & Association Dotclear |
---|
| 7 | * @copyright GPL-2.0-only |
---|
| 8 | * |
---|
| 9 | * @deprecated It is only used for plugins compatibility |
---|
| 10 | */ |
---|
[1905] | 11 | |
---|
[3730] | 12 | require dirname(__FILE__) . '/../inc/admin/prepend.php'; |
---|
[0] | 13 | |
---|
[3403] | 14 | dcPage::check('usage,contentadmin'); |
---|
| 15 | |
---|
[2243] | 16 | if (isset($_REQUEST['redir'])) { |
---|
[3730] | 17 | $u = explode('?', $_REQUEST['redir']); |
---|
| 18 | $uri = $u[0]; |
---|
| 19 | if (isset($u[1])) { |
---|
| 20 | parse_str($u[1], $args); |
---|
| 21 | } |
---|
| 22 | $args['redir'] = $_REQUEST['redir']; |
---|
[2243] | 23 | } else { |
---|
[3730] | 24 | $uri = $core->adminurl->get("admin.comments"); |
---|
[3874] | 25 | $args = []; |
---|
[2243] | 26 | } |
---|
| 27 | |
---|
[3730] | 28 | $comments_actions_page = new dcCommentsActionsPage($core, $uri, $args); |
---|
[2243] | 29 | $comments_actions_page->setEnableRedirSelection(false); |
---|
[1905] | 30 | $comments_actions_page->process(); |
---|
Note: See
TracBrowser
for help on using the repository browser.