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/popup_link.php

    r3731 r3874  
    2222 
    2323# Languages combo 
    24 $rs         = $core->blog->getLangs(array('order' => 'asc')); 
     24$rs         = $core->blog->getLangs(['order' => 'asc']); 
    2525$lang_combo = dcAdminCombos::getLangsCombo($rs, true); 
    2626 
     
    2828'<form id="link-insert-form" action="#" method="get">' . 
    2929'<p><label class="required" for="href"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Link URL:') . '</label> ' . 
    30 form::field('href', 35, 512, array( 
     30form::field('href', 35, 512, [ 
    3131    'default'    => html::escapeHTML($href), 
    3232    'extra_html' => 'required placeholder="' . __('URL') . '"' 
    33 )) . 
     33]) . 
    3434'</p>' . 
    3535'<p><label for="title">' . __('Link title:') . '</label> ' . 
Note: See TracChangeset for help on using the changeset viewer.

Sites map