mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-06 13:06:11 +02:00
Mark required input fields with a star
Mark required input fields with a star as nowadays this is the de-facto default. Before, it was the other way around and optional fields were marked. Signed-off-by: Lars Schumacher <larsen007@web.de> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
b1fb211827
commit
e3edceeb7a
@@ -263,9 +263,9 @@ print <<END
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td> </td>
|
||||
<td width='25%' class='base'>$Lang::tr{'primary ntp server'}:</td>
|
||||
<td width='25%' class='base'>$Lang::tr{'primary ntp server'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td width='25%'><input type='text' name='NTP_ADDR_1' value='$timesettings{'NTP_ADDR_1'}' /></td>
|
||||
<td width='25%' class='base'>$Lang::tr{'secondary ntp server'}: <img src='/blob.gif' align='top' alt='*' /></td>
|
||||
<td width='25%' class='base'>$Lang::tr{'secondary ntp server'}:</td>
|
||||
<td width='25%'><input type='text' name='NTP_ADDR_2' value='$timesettings{'NTP_ADDR_2'}' /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -319,7 +319,7 @@ print <<END
|
||||
<hr />
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td width='30%'><img src='/blob.gif' alt='*' /> $Lang::tr{'this field may be blank'}</td>
|
||||
<td width='30%'><img src='/blob.gif' alt='*' /> $Lang::tr{'required field'}</td>
|
||||
<td width='65%' align='right'><input type='submit' name='ACTION' value='$Lang::tr{'set time now'}' /></td>
|
||||
<td width='5%' align='right'><input type='submit' name='ACTION' value='$Lang::tr{'save'}' /></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user