Dotclear


Ignore:
Timestamp:
12/29/17 14:17:26 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Add required attribute for mandatory fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/popup_link.php

    r3445 r3639  
    3131'<form id="link-insert-form" action="#" method="get">'. 
    3232'<p><label class="required" for="href"><abbr title="'.__('Required field').'">*</abbr> '.__('Link URL:').'</label> '. 
    33 form::field('href',35,512,html::escapeHTML($href)).'</p>'. 
     33form::field('href',35,512,html::escapeHTML($href),'','',false,'required placeholder="'.__('URL').'"').'</p>'. 
    3434'<p><label for="title">'.__('Link title:').'</label> '. 
    3535form::field('title',35,512,html::escapeHTML($title)).'</p>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map