Dotclear


Ignore:
Timestamp:
09/14/18 12:16:17 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

short notation for array (array() → [])

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/help.php

    r3872 r3874  
    1313 
    1414$helpPage = function (...$args) { 
    15     $ret = array('content' => '', 'title' => ''); 
     15    $ret = ['content' => '', 'title' => '']; 
    1616 
    1717    if (empty($args)) { 
     
    7070if ($content_array['title'] != '') { 
    7171    $breadcrumb = dcPage::breadcrumb( 
    72         array( 
     72        [ 
    7373            __('Global help')       => $core->adminurl->get("admin.help"), 
    7474            $content_array['title'] => '' 
    75         )); 
     75        ]); 
    7676} else { 
    7777    $breadcrumb = dcPage::breadcrumb( 
    78         array( 
     78        [ 
    7979            __('Global help') => '' 
    80         )); 
     80        ]); 
    8181} 
    8282 
Note: See TracChangeset for help on using the changeset viewer.

Sites map