From: Michael Tremer Date: Tue, 17 Oct 2017 11:43:42 +0000 (+0100) Subject: captive: Reindent code for better readability X-Git-Tag: v2.19-core115~14 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=f32174956eb8dc6d961c0fe09796e092b6846ae4 captive: Reindent code for better readability Signed-off-by: Michael Tremer --- 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'}