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:
Lars Schuhmacher
2015-09-07 19:39:39 +01:00
committed by Michael Tremer
parent b1fb211827
commit e3edceeb7a
27 changed files with 266 additions and 257 deletions

View File

@@ -232,7 +232,7 @@ else
print <<END
<table width='100%'>
<tr>
<td width='15%' class='base'>$Lang::tr{'mac address'}:&nbsp;</td>
<td width='15%' class='base'>$Lang::tr{'mac address'}:&nbsp;<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'}:&nbsp;</td>
<td align='left'>
@@ -256,7 +256,7 @@ print <<END
</td>
</tr>
<tr>
<td width='15%' class='base'>$Lang::tr{'remark'}:&nbsp;<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
;