Dotclear

source: admin/comments_actions.php @ 3731:3770620079d4

Revision 3731:3770620079d4, 746 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Simplify licence block at the beginning of each file

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
12require dirname(__FILE__) . '/../inc/admin/prepend.php';
13
14dcPage::check('usage,contentadmin');
15
16if (isset($_REQUEST['redir'])) {
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'];
23} else {
24    $uri  = $core->adminurl->get("admin.comments");
25    $args = array();
26}
27
28$comments_actions_page = new dcCommentsActionsPage($core, $uri, $args);
29$comments_actions_page->setEnableRedirSelection(false);
30$comments_actions_page->process();
Note: See TracBrowser for help on using the repository browser.

Sites map