From 297ebdd47bbe5170c57f7ea0079c37830da61827 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 26 Apr 2017 12:59:36 +0100 Subject: [PATCH] captive: Group settings together and create branding section Signed-off-by: Michael Tremer --- html/cgi-bin/captive.cgi | 51 +++++++++++++++++++++------------------- langs/en/cgi-bin/en.pl | 1 + 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index b6175673e1..e7081e96ba 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -266,20 +266,8 @@ END print "$Lang::tr{'Captive active on'} Blue"; } - print< - - - $Lang::tr{'Captive title'} - - - - - -END -; - print< $Lang::tr{'Captive authentication'} @@ -314,6 +302,29 @@ END END } + print< + +
+ $Lang::tr{'Captive branding'} + + + + + $Lang::tr{'Captive title'} + + + + + + + $Lang::tr{'Captive brand color'} + + + + +END + #Logo Upload print < @@ -337,24 +348,16 @@ END print"
$Lang::tr{'no'}"; } -print< - $Lang::tr{'Captive brand color'} - - - - - + print < - - + END -; + &Header::closebox(); #if settings is set to use coupons, the coupon part has to be displayed diff --git a/langs/en/cgi-bin/en.pl b/langs/en/cgi-bin/en.pl index 58475ab28e..cde2a2f8cf 100644 --- a/langs/en/cgi-bin/en.pl +++ b/langs/en/cgi-bin/en.pl @@ -23,6 +23,7 @@ 'Captive config' => 'Settings', 'Captive coupon' => 'Coupon', 'Captive err doublevoucher' => 'A voucher with this code already exists', +'Captive branding' => 'Branding', 'Captive expire' => 'Expire', 'Captive generate coupon' => 'Generate Coupon', 'Captive heading terms' => 'Terms & Conditions', -- 2.39.5