diff options
author | Colin Fleming <cj_fleming@sky.com> | 2013-04-08 20:46:48 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2013-04-08 20:46:48 +0100 |
commit | 8b60b40f77573e718848b6ebfaf1557b1e446db3 (patch) | |
tree | d61bffaa02e9c8d4a4a27abc3093ef7a4c745ba5 /usr/local/www/system_groupmanager_addprivs.php | |
parent | 4fd2fed2ad6672c3be771146048bee61317f3197 (diff) | |
download | pfsense-8b60b40f77573e718848b6ebfaf1557b1e446db3.zip pfsense-8b60b40f77573e718848b6ebfaf1557b1e446db3.tar.gz |
Tidy up XHTML
Add CDATA sections to SCRIPT tags
Add SUMMARY to TABLE tags
Diffstat (limited to 'usr/local/www/system_groupmanager_addprivs.php')
-rw-r--r-- | usr/local/www/system_groupmanager_addprivs.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr/local/www/system_groupmanager_addprivs.php b/usr/local/www/system_groupmanager_addprivs.php index 8ffbe0b..29f0193 100644 --- a/usr/local/www/system_groupmanager_addprivs.php +++ b/usr/local/www/system_groupmanager_addprivs.php @@ -124,7 +124,7 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC" onload="<?= $jsevents["body"]["onload"] ?>"> <?php include("fbegin.inc"); ?> <script type="text/javascript"> -<!-- +//<![CDATA[ <?php @@ -150,7 +150,7 @@ function update_description() { document.getElementById("pdesc").innerHTML = descs[index]; } -//--> +//]]> </script> <?php if ($input_errors) @@ -158,7 +158,7 @@ function update_description() { if ($savemsg) print_info_box($savemsg); ?> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="group manager add priveleges"> <tr> <td> <?php @@ -175,13 +175,13 @@ function update_description() { <td id="mainarea"> <div class="tabcont"> <form action="system_groupmanager_addprivs.php" method="post" name="iform" id="iform"> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> + <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area"> <tr> <td width="22%" valign="top" class="vncellreq"><?=gettext("System Privileges");?></td> <td width="78%" class="vtable"> <table> <tr><td> - <select name="sysprivs[]" id="sysprivs" class="formselect" onchange="update_description();" multiple size="35"> + <select name="sysprivs[]" id="sysprivs" class="formselect" onchange="update_description();" multiple="multiple" size="35"> <?php foreach($priv_list as $pname => $pdata): if (in_array($pname, $a_group['priv'])) @@ -195,6 +195,7 @@ function update_description() { </td><td> <a href='#'onClick="selectAll();">Select all</a> <script type="text/javascript"> + //<![CDATA[ function selectAll() { var options = jQuery('select#sysprivs option'); var len = options.length; @@ -203,6 +204,7 @@ function update_description() { } } selectAll(); + //]]> </script> <br/> </td> |