Somehow someone forgot to fix 'captive.cgi' after deleting the translation string 'Captive menu'...

Message ID 20180110160456.20586-1-matthias.fischer@ipfire.org
State Accepted
Commit bf1db4b28fa2ab0c7e3113ab87779bfa583a8c08
Headers
Series Somehow someone forgot to fix 'captive.cgi' after deleting the translation string 'Captive menu'... |

Commit Message

Matthias Fischer Jan. 11, 2018, 3:04 a.m. UTC
  Hm.

Best,
Matthias ;-)

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
---
 html/cgi-bin/captive.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Michael Tremer Jan. 11, 2018, 3:45 a.m. UTC | #1
Merged but I changed the commit message

On Wed, 2018-01-10 at 17:04 +0100, Matthias Fischer wrote:
> Hm.
> 
> Best,
> Matthias ;-)
> 
> Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
> ---
>  html/cgi-bin/captive.cgi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi
> index f3bb28cb2..65cc349ba 100755
> --- a/html/cgi-bin/captive.cgi
> +++ b/html/cgi-bin/captive.cgi
> @@ -237,7 +237,7 @@ if ($cgiparams{'ACTION'} eq 'delete-client') {
>  }
>  
>  #open webpage, print header and open box
> -&Header::openpage($Lang::tr{'Captive menu'}, 1, '');
> +&Header::openpage($Lang::tr{'Captive'}, 1, '');
>  &Header::openbigbox();
>  
>  # If an error message exists, show a box with the error message
  

Patch

diff --git a/html/cgi-bin/captive.cgi b/html/cgi-bin/captive.cgi
index f3bb28cb2..65cc349ba 100755
--- a/html/cgi-bin/captive.cgi
+++ b/html/cgi-bin/captive.cgi
@@ -237,7 +237,7 @@  if ($cgiparams{'ACTION'} eq 'delete-client') {
 }
 
 #open webpage, print header and open box
-&Header::openpage($Lang::tr{'Captive menu'}, 1, '');
+&Header::openpage($Lang::tr{'Captive'}, 1, '');
 &Header::openbigbox();
 
 # If an error message exists, show a box with the error message