From f32174956eb8dc6d961c0fe09796e092b6846ae4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 17 Oct 2017 12:43:42 +0100 Subject: [PATCH] captive: Reindent code for better readability Signed-off-by: Michael Tremer --- html/cgi-bin/captive.cgi | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi index e416c566a3..629acaee2b 100755 --- a/html/cgi-bin/captive.cgi +++ b/html/cgi-bin/captive.cgi @@ -251,7 +251,6 @@ if ($errormessage) { print <\n - END ; @@ -274,14 +273,34 @@ $selected{'AUTH'}{'TERMS'} = ""; $selected{'AUTH'}{$settings{'AUTH'}} = "selected"; if ($netsettings{'GREEN_DEV'}){ - print ""; + print < + + + +END } + if ($netsettings{'BLUE_DEV'}){ - print ""; + print < + + + +END } print<
$Lang::tr{'Captive active on'} $Lang::tr{'green'}
+ $Lang::tr{'Captive active on'} + $Lang::tr{'green'} + + +
$Lang::tr{'Captive active on'} $Lang::tr{'blue'}
+ $Lang::tr{'Captive active on'} + $Lang::tr{'blue'} + + +
$Lang::tr{'Captive authentication'} -- 2.39.5