diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-02-06 19:27:32 +0000 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-02-06 19:27:32 +0000 |
commit | 52593da5dbff0bfa2dc86f1e8c28c9a5632ea4d6 (patch) | |
tree | 35dc6a187010dbbdc3d33c71dbf2946aa1aa2338 /usr/local/www/headjs.php | |
parent | 0715ad5093226a9fd29b1abbbf57a9892efe4100 (diff) | |
download | pfsense-52593da5dbff0bfa2dc86f1e8c28c9a5632ea4d6.zip pfsense-52593da5dbff0bfa2dc86f1e8c28c9a5632ea4d6.tar.gz |
Update HTML in "include" files
Udated the DOCTYPE to make it W3C standard/compliant.
Moved "sorttable.js", "ticker.js" and the "antiClickJack style" from
"fbegin.inc" and place them in "head.inc" (where they belong), this may
also help the Widescreen package to work.
Close BR, INPUT and IMG tags properly, update IMG tags with "alt" and
update TABLE tags with "summary".
Updated the SCRIPT and STYLE with proper CDATA sections.
Updated LINK with the correct types.
Diffstat (limited to 'usr/local/www/headjs.php')
-rw-r--r-- | usr/local/www/headjs.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/headjs.php b/usr/local/www/headjs.php index 197d806..bfea6e9 100644 --- a/usr/local/www/headjs.php +++ b/usr/local/www/headjs.php @@ -63,7 +63,7 @@ function getHeadJS() { jQuery(\"#submit\").click(submit_form); jQuery('#submit').click(function() {return false;}); - var to_insert = \"<div style='visibility:hidden' id='loading' name='loading'><img src='{$loader_gif}' \/><\/div>\"; + var to_insert = \"<div style='visibility:hidden' id='loading' name='loading'><img src='{$loader_gif}' alt='loader' \/><\/div>\"; jQuery('#submit').before(to_insert); } } @@ -73,7 +73,7 @@ function getHeadJS() { //alert(Form.serialize($('iform'))); if(jQuery('#inputerrors')) - jQuery('#inputerrors').html('<center><b><i>Loading...</i></b></center>'); + jQuery('#inputerrors').html('<center><b><i>Loading...<\/i><\/b><\/center>'); /* dsh: Introduced because pkg_edit tries to set some hidden fields * if executing submit's onclick event. The click gets deleted @@ -134,10 +134,10 @@ function getHeadJS() { return; } - message_html = '<table height=\"32\" width=\"100%\"><tr><td>'; + message_html = '<table height=\"32\" width=\"100%\" summary=\"redbox\"><tr><td>'; message_html += '<div style=\"background-color:#990000\" id=\"redbox\">'; - message_html += '<table width=\"100%\"><tr><td width=\"8%\">'; - message_html += '<img style=\"vertical-align:center\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\" width=\"28\" height=\"32\" \/>'; + message_html += '<table width=\"100%\" summary=\"message\"><tr><td width=\"8%\">'; + message_html += '<img style=\"vertical-align:center\" src=\"/themes/{$g['theme']}/images/icons/icon_exclam.gif\" width=\"28\" height=\"32\" alt=\"exclamation\" \/>'; message_html += '<\/td><td width=\"70%\"><font color=\"white\">'; message_html += '<b>' + message + '<\/b><\/font><\/td>'; |