| Revision 3874:ab8368569446,
            741 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 | require dirname(__FILE__) . '/../inc/admin/prepend.php'; | 
|---|
| 13 |  | 
|---|
| 14 | dcPage::check('usage,contentadmin'); | 
|---|
| 15 |  | 
|---|
| 16 | if (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 = []; | 
|---|
| 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.