Revision 3874:ab8368569446,
841 bytes
checked in by franck <carnet.franck.paul@…>, 7 years ago
(diff) |
short notation for array (array() → [])
|
Line | |
---|
1 | <?php |
---|
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 | */ |
---|
11 | |
---|
12 | /* ### THIS FILE IS DEPRECATED ### */ |
---|
13 | /* ### IT IS ONLY USED FOR PLUGINS COMPATIBILITY ### */ |
---|
14 | |
---|
15 | require dirname(__FILE__) . '/../inc/admin/prepend.php'; |
---|
16 | |
---|
17 | dcPage::check('usage,contentadmin'); |
---|
18 | |
---|
19 | if (isset($_REQUEST['redir'])) { |
---|
20 | $u = explode('?', $_REQUEST['redir']); |
---|
21 | $uri = $u[0]; |
---|
22 | if (isset($u[1])) { |
---|
23 | parse_str($u[1], $args); |
---|
24 | } |
---|
25 | $args['redir'] = $_REQUEST['redir']; |
---|
26 | } else { |
---|
27 | $uri = $core->adminurl->get("admin.posts"); |
---|
28 | $args = []; |
---|
29 | } |
---|
30 | |
---|
31 | $posts_actions_page = new dcPostsActionsPage($core, $uri, $args); |
---|
32 | $posts_actions_page->setEnableRedirSelection(false); |
---|
33 | $posts_actions_page->process(); |
---|
Note: See
TracBrowser
for help on using the repository browser.