diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-23 23:28:55 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-09-23 23:40:46 -0600 |
commit | 6991e1a60d4475d84660376f26f07735f8cbf67f (patch) | |
tree | 198e924479d7a4098ba64ea98f2d8c05523d3b13 | |
parent | 5eb03383ae82466ccc938707f907508b9a9bad1b (diff) | |
download | pfsense-6991e1a60d4475d84660376f26f07735f8cbf67f.zip pfsense-6991e1a60d4475d84660376f26f07735f8cbf67f.tar.gz |
Fix the contents of the captive portal logout popup. Fixes #836
-rw-r--r-- | etc/inc/captiveportal.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 1b3fe6f..007bd44 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -369,7 +369,7 @@ EOD; <HEAD><TITLE>Redirecting...</TITLE></HEAD> <BODY> <SPAN STYLE="font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px;"> -<B>Redirecting to <A HREF="{$my_redirurl}">{$my_redirurl}</A>...</B> +<B>Redirecting to <A HREF="<?=\$my_redirurl;?>"><?=\$my_redirurl;?></A>...</B> </SPAN> <SCRIPT LANGUAGE="JavaScript"> <!-- @@ -380,8 +380,8 @@ if (LogoutWin) { LogoutWin.document.write('<BODY BGCOLOR="#435370">'); LogoutWin.document.write('<DIV ALIGN="center" STYLE="color: #ffffff; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px;">') ; LogoutWin.document.write('<B>Click the button below to disconnect</B><P>'); - LogoutWin.document.write('<FORM METHOD="POST" ACTION="{$logouturl}">'); - LogoutWin.document.write('<INPUT NAME="logout_id" TYPE="hidden" VALUE="{$sessionid}">'); + LogoutWin.document.write('<FORM METHOD="POST" ACTION="<?=\$logouturl;?>">'); + LogoutWin.document.write('<INPUT NAME="logout_id" TYPE="hidden" VALUE="<?=\$sessionid;?>">'); LogoutWin.document.write('<INPUT NAME="logout" TYPE="submit" VALUE="Logout">'); LogoutWin.document.write('</FORM>'); LogoutWin.document.write('</DIV></BODY>'); @@ -389,7 +389,7 @@ if (LogoutWin) { LogoutWin.document.close(); } -document.location.href="{$my_redirurl}"; +document.location.href="<?=\$my_redirurl;?>"; --> </SCRIPT> </BODY> |