When choosing voucher as authentication type there is no need to display the license agreement textbox Signed-off-by: Alexander Marx --- html/cgi-bin/captive.cgi | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index a8add4d..bdded8b 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -277,10 +277,10 @@ END print< - +
$Lang::tr{'Captive authentication'} - +
"; + print "
$Lang::tr{'Captive logo_upload'}
$Lang::tr{'Captive logo_upload1'}
"; #Show Logo in webinterface with 1/2 size if set if (-f "$logopath/logo.png"){ print"$Lang::tr{'Captive logo_set'}"; -- 2.7.4