From 827d3f61da96ebc8881f3fbf283fd67c8bad6809 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Apr 2017 12:55:40 +0100 Subject: [PATCH] captive: Some more CGI cleanup Signed-off-by: Michael Tremer --- html/cgi-bin/captive.cgi | 46 ++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index 85b9c5d19e..b6175673e1 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -269,22 +269,22 @@ END print< -
- $Lang::tr{'Captive title'} - -
- - + + $Lang::tr{'Captive title'} + + + + END ; print< -
+ $Lang::tr{'Captive authentication'} -
+ "; + print < + + $Lang::tr{'Captive logo_upload'} +
+ $Lang::tr{'Captive logo_upload1'} + + + + + +END + #Show Logo in webinterface with 1/2 size if set if (-f "$logopath/logo.png"){ - print"$Lang::tr{'Captive logo_set'}"; + print"$Lang::tr{'Captive logo_set'}"; print"$logopath/logo.png"; }else{ - print"$Lang::tr{'Captive logo_set'}"; + print"$Lang::tr{'Captive logo_set'}"; print"
$Lang::tr{'no'}"; } + print< $Lang::tr{'Captive brand color'} @@ -333,18 +346,15 @@ print< - - + - + - -

+ + END ; - print ""; - &Header::closebox(); #if settings is set to use coupons, the coupon part has to be displayed -- 2.39.2