diff options
author | Colin Fleming <cj_fleming@sky.com> | 2015-11-29 18:23:07 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2015-11-29 18:23:07 +0000 |
commit | 8fd9052f364f7c0d10d8244f3c1456c67baecc6d (patch) | |
tree | 7c49291e368a677d6be225d7f0375f6ce0bf7c63 /src/etc/inc/authgui.inc | |
parent | cbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff) | |
download | pfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.zip pfsense-8fd9052f364f7c0d10d8244f3c1456c67baecc6d.tar.gz |
Type up SCRIPT tags
Diffstat (limited to 'src/etc/inc/authgui.inc')
-rw-r--r-- | src/etc/inc/authgui.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/etc/inc/authgui.inc b/src/etc/inc/authgui.inc index f22e7c3..700643f 100644 --- a/src/etc/inc/authgui.inc +++ b/src/etc/inc/authgui.inc @@ -228,7 +228,11 @@ if ($local_ip == false) { <head> <link rel="stylesheet" href="/bootstrap/css/pfSense.css" /> <title><?=gettext("Login"); ?></title> - <script>var events = events || [];</script> + <script type="text/javascript> + //<![CDATA{ + var events = events || []; + //]]> + </script> </head> <body id="login" class="no-menu"> <div id="jumbotron"> @@ -280,7 +284,8 @@ if ($local_ip == false) { </div> </div> - <script> + <script type="text/javascript"> + //!<[CDATA[ events.push(function() { document.cookie= "cookie_test=1" + @@ -294,6 +299,7 @@ if ($local_ip == false) { // Delete it document.cookie = "cookie_test=1; expires=Thu, 01-Jan-1970 00:00:01 GMT"; }); + //]]> </script> <?php require('foot.inc'); |