mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 10:22:59 +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
@@ -207,20 +207,20 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'edit'}) {
|
||||
print <<END
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td width='20%' class='base'>$Lang::tr{'dnsforward zone'}:</td>
|
||||
<td width='20%' class='base'>$Lang::tr{'dnsforward zone'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td><input type='text' name='ZONE' value='$cgiparams{'ZONE'}' size='24' /></td>
|
||||
<td width='30%' class='base'>$Lang::tr{'enabled'}<input type='checkbox' name='ENABLED' $checked{'ENABLED'}{'on'} /></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='20%' class='base'>$Lang::tr{'dnsforward forward_server'}:</td>
|
||||
<td width='20%' class='base'>$Lang::tr{'dnsforward forward_server'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td><input type='text' name='FORWARD_SERVER' value='$cgiparams{'FORWARD_SERVER'}' size='24' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td width ='20%' class='base'>$Lang::tr{'remark'}: <img src='/blob.gif' alt='*' /></td>
|
||||
<td width ='20%' class='base'>$Lang::tr{'remark'}:</td>
|
||||
<td><input type='text' name='REMARK' value='$cgiparams{'REMARK'}' size='40' maxlength='50' /></td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -229,7 +229,7 @@ print <<END
|
||||
|
||||
<table width='100%'>
|
||||
<tr>
|
||||
<td class='base' width='55%'><img src='/blob.gif' alt ='*' align='top' /> $Lang::tr{'this field may be blank'}</td>
|
||||
<td class='base' width='55%'><img src='/blob.gif' alt ='*' align='top' /> $Lang::tr{'required field'}</td>
|
||||
<td width='40%' align='right'>
|
||||
<input type='hidden' name='ACTION' value='$Lang::tr{'add'}' />
|
||||
<input type='submit' name='SUBMIT' value='$buttontext' />
|
||||
|
||||
Reference in New Issue
Block a user