diff --git a/html/cgi-bin/captive/index.cgi b/html/cgi-bin/captive/index.cgi index 597d53014..963b890e8 100755 --- a/html/cgi-bin/captive/index.cgi +++ b/html/cgi-bin/captive/index.cgi @@ -142,9 +142,12 @@ my $tmpl = HTML::Template->new( $tmpl->param(REDIRECT_URL => $url); -# Voucher +# Coupon if ($settings{'AUTH'} eq "COUPON") { $tmpl->param(COUPON => 1); + $tmpl->param(L_HEADING => $Lang::tr{'Captive coupon'}); +} else { + $tmpl->param(L_HEADING => $Lang::tr{'Captive terms'}); } $tmpl->param(TITLE => $settings{'TITLE'}); @@ -156,9 +159,7 @@ $tmpl->param(TERMS => &getterms()); # Some translated strings $tmpl->param(L_ACTIVATE => $Lang::tr{'Captive ACTIVATE'}); $tmpl->param(L_GAIN_ACCESS => $Lang::tr{'Captive GAIN ACCESS'}); -$tmpl->param(L_HEADING_COUPON => $Lang::tr{'Captive coupon'}); -$tmpl->param(L_HEADING_TERMS => $Lang::tr{'Captive terms'}); -$tmpl->param(L_AGREE_TAC => $Lang::tr{'Captive agree tac'}); +$tmpl->param(L_AGREE_TERMS => $Lang::tr{'Captive agree tac'}); # Print header print "Pragma: no-cache\n"; diff --git a/html/html/captive/template.html b/html/html/captive/template.html index 15f9b59e1..504920c64 100644 --- a/html/html/captive/template.html +++ b/html/html/captive/template.html @@ -31,18 +31,14 @@
- -

- -

-
+

"> - - + + ">