From: Alexander Marx Date: Thu, 11 Feb 2016 06:21:29 +0000 (+0100) Subject: Captive-Portal: fix fontsize of generated voucher X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45129439bc2b16b712f015a661af4bdfbd815f60;p=people%2Fms%2Fipfire-2.x.git Captive-Portal: fix fontsize of generated voucher Signed-off-by: Alexander Marx --- diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index 2d99566323..261150400f 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -126,6 +126,10 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}"){ } #execute binary to reload firewall rules system("/usr/local/bin/captivectrl"); + + if ($cgiparams{'ENABLE_BLUE'} eq 'on'){ + system("/usr/local/bin/wirelessctrl"); + } } } @@ -438,12 +442,12 @@ print< - + END ; $cgiparams{'CODE'} = &gencode(); - print ""; + print ""; print "
$Lang::tr{'Captive voucher'}$Lang::tr{'Captive expire'}$Lang::tr{'remark'}
$Lang::tr{'Captive voucher'}$Lang::tr{'Captive expire'}$Lang::tr{'remark'}
$cgiparams{'CODE'}
$expire
$cgiparams{'CODE'}
$expire

"; print "
"; &Header::closebox();