Dotclear


Ignore:
Timestamp:
03/08/18 17:58:39 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Code formatting (PSR-2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/comments_actions.php

    r3403 r3730  
    1111# -- END LICENSE BLOCK ----------------------------------------- 
    1212 
    13 /* ### THIS FILE IS DEPRECATED                         ### */ 
     13/* ### THIS FILE IS DEPRECATED                     ### */ 
    1414/* ### IT IS ONLY USED FOR PLUGINS COMPATIBILITY ### */ 
    1515 
    16 require dirname(__FILE__).'/../inc/admin/prepend.php'; 
     16require dirname(__FILE__) . '/../inc/admin/prepend.php'; 
    1717 
    1818dcPage::check('usage,contentadmin'); 
    1919 
    2020if (isset($_REQUEST['redir'])) { 
    21      $u = explode('?',$_REQUEST['redir']); 
    22      $uri = $u[0]; 
    23      if (isset($u[1])) { 
    24           parse_str($u[1],$args); 
    25      } 
    26      $args['redir'] = $_REQUEST['redir']; 
     21    $u   = explode('?', $_REQUEST['redir']); 
     22    $uri = $u[0]; 
     23    if (isset($u[1])) { 
     24        parse_str($u[1], $args); 
     25    } 
     26    $args['redir'] = $_REQUEST['redir']; 
    2727} else { 
    28      $uri = $core->adminurl->get("admin.comments"); 
    29      $args=array(); 
     28    $uri = $core->adminurl->get("admin.comments"); 
     29    $args = array(); 
    3030} 
    3131 
    32 $comments_actions_page = new dcCommentsActionsPage($core,$uri,$args); 
     32$comments_actions_page = new dcCommentsActionsPage($core, $uri, $args); 
    3333$comments_actions_page->setEnableRedirSelection(false); 
    3434$comments_actions_page->process(); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map