mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +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
@@ -232,7 +232,7 @@ else
|
||||
print <<END
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td width='15%' class='base'>$Lang::tr{'mac address'}: </td>
|
||||
<td width='15%' class='base'>$Lang::tr{'mac address'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td width='40%'><input type='text' name='CLIENT_MAC' value='$cgiparams{'CLIENT_MAC'}' size='25' /></td>
|
||||
<td width='10%' class='base'>$Lang::tr{'interface'}: </td>
|
||||
<td align='left'>
|
||||
@@ -256,7 +256,7 @@ print <<END
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width='15%' class='base'>$Lang::tr{'remark'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td width='15%' class='base'>$Lang::tr{'remark'}:</td>
|
||||
<td colspan='4' align='left'><input type='text' name='CLIENT_COMMENT' value='$cgiparams{'CLIENT_COMMENT'}' size='40' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -264,7 +264,7 @@ print <<END
|
||||
<hr />
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td class='base' valign='top'><img src='/blob.gif' alt='*' />$Lang::tr{'this field may be blank'}</td>
|
||||
<td class='base' valign='top'><img src='/blob.gif' alt='*' />$Lang::tr{'required field'}</td>
|
||||
<td width='40%' align='right'>
|
||||
END
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user