It turns out, that this is not good style, but as the
rest of the CGI depends on it, we need to stick with
this.
&Header::openbox('100%', 'left', 'NAT');
print<<END;
<label>
&Header::openbox('100%', 'left', 'NAT');
print<<END;
<label>
- <input type='checkbox' name='USE_NAT' id='USE_NAT' $checked{'USE_NAT'}{'ON'}>
+ <input type='checkbox' name='USE_NAT' id='USE_NAT' value="ON" $checked{'USE_NAT'}{'ON'}>
$Lang::tr{'fwdfw use nat'}
</label>
<div class="NAT">
$Lang::tr{'fwdfw use nat'}
</label>
<div class="NAT">
if ($fwdfwsettings{'updatefwrule'} eq 'on') {
print <<END;
<td>
if ($fwdfwsettings{'updatefwrule'} eq 'on') {
print <<END;
<td>
- <input type='checkbox' name='ACTIVE' $checked{'ACTIVE'}{'ON'}>
+ <input type='checkbox' name='ACTIVE' value="ON" $checked{'ACTIVE'}{'ON'}>
</td>
<td>$Lang::tr{'fwdfw rule activate'}</td>
END
</td>
<td>$Lang::tr{'fwdfw rule activate'}</td>
END