diff options
author | Vinicius Coque <vcoque@gmail.com> | 2012-01-15 12:53:51 -0200 |
---|---|---|
committer | Vinicius Coque <vcoque@gmail.com> | 2012-01-15 12:53:51 -0200 |
commit | d6159f76fb1381f6ea545806a230d7d41e4e4fbc (patch) | |
tree | b59ff12b7489bb7a911ccd1ac666bb84dd195098 /etc/inc/authgui.inc | |
parent | ea0d4171c0f0c9e68f26ed052aba0fa078aba120 (diff) | |
download | pfsense-d6159f76fb1381f6ea545806a230d7d41e4e4fbc.zip pfsense-d6159f76fb1381f6ea545806a230d7d41e4e4fbc.tar.gz |
Scriptaculous / prototype replaced by jQuery
Diffstat (limited to 'etc/inc/authgui.inc')
-rw-r--r-- | etc/inc/authgui.inc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/etc/inc/authgui.inc b/etc/inc/authgui.inc index 4d2f953..e374ad3 100644 --- a/etc/inc/authgui.inc +++ b/etc/inc/authgui.inc @@ -104,8 +104,7 @@ function display_error_form($http_code, $desc) { "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <script type="text/javascript" src="/javascript/scriptaculous/prototype.js"></script> - <script type="text/javascript" src="/javascript/scriptaculous/scriptaculous.js"></script> + <script type="text/javascript" src="/javascript/jquery.js"></script> <title><?=$http_code?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="shortcut icon" href="/themes/<?= $g['theme'] ?>/images/icons/favicon.ico" /> @@ -207,9 +206,8 @@ $have_cookies = isset($_COOKIE["cookie_test"]); "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <script type="text/javascript" src="/javascript/scriptaculous/prototype.js"></script> - <script type="text/javascript" src="/javascript/scriptaculous/scriptaculous.js"></script> - <script>document.observe('dom:loaded', function() { $('usernamefld').focus(); });</script> + <script type="text/javascript" src="/javascript/jquery.js"></script> + <script>$(document).ready(function() { jQuery('#usernamefld').focus(); });</script> <title><?=gettext("Login"); ?></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> @@ -284,4 +282,4 @@ $have_cookies = isset($_COOKIE["cookie_test"]); <?php } // end function -?>
\ No newline at end of file +?> |