Dotclear


Ignore:
Timestamp:
03/02/18 15:55:06 (7 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Use specialized input fields (color, email, url, number, …) where is relevant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.moduleslist.php

    r3699 r3725  
    262262        '<form action="' . $this->getURL() . '" method="get">' . 
    263263        '<p><label for="m_search" class="classic">' . __('Search in repository:') . '&nbsp;</label><br />' . 
    264         form::field(array('m_search', 'm_search'), 30, 255, html::escapeHTML($query)) . 
     264        form::field('m_search', 30, 255, html::escapeHTML($query)) . 
    265265        '<input type="submit" value="' . __('OK') . '" /> '; 
    266266 
     
    13021302        '<h4>' . __('Download a zip file') . '</h4>' . 
    13031303        '<p class="field"><label for="pkg_url" class="classic required"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Zip file URL:') . '</label> ' . 
    1304         form::field(array('pkg_url', 'pkg_url'), 40, 255, '', '', '', false, 'required placeholder="' . __('URL') . '"') . '</p>' . 
     1304        form::field('pkg_url', 40, 255, array( 
     1305            'extra_html' => 'required placeholder="' . __('URL') . '"' 
     1306        )) . 
     1307        '</p>' . 
    13051308        '<p class="field"><label for="your_pwd2" class="classic required"><abbr title="' . __('Required field') . '">*</abbr> ' . __('Your password:') . '</label> ' . 
    13061309        form::password(array('your_pwd', 'your_pwd2'), 20, 255, 
Note: See TracChangeset for help on using the changeset viewer.

Sites map