summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/system_groupmanager_addprivs.php12
-rw-r--r--usr/local/www/system_usermanager_addprivs.php10
-rw-r--r--usr/local/www/system_usermanager_passwordmg.php2
3 files changed, 13 insertions, 11 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>
diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php
index 29f9bb3..5946db8 100644
--- a/usr/local/www/system_usermanager_addprivs.php
+++ b/usr/local/www/system_usermanager_addprivs.php
@@ -125,7 +125,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
@@ -151,7 +151,7 @@ function update_description() {
document.getElementById("pdesc").innerHTML = descs[index];
}
-//-->
+//]]>
</script>
<?php
if ($input_errors)
@@ -159,7 +159,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="user manager add priveleges">
<tr>
<td>
<?php
@@ -176,11 +176,11 @@ function update_description() {
<td id="mainarea">
<div class="tabcont">
<form action="system_usermanager_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">
- <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_user['priv']))
diff --git a/usr/local/www/system_usermanager_passwordmg.php b/usr/local/www/system_usermanager_passwordmg.php
index 895d28d..55f8150 100644
--- a/usr/local/www/system_usermanager_passwordmg.php
+++ b/usr/local/www/system_usermanager_passwordmg.php
@@ -99,7 +99,7 @@ if ($islocal == false) {
<div id="mainarea">
<div class="tabcont">
<form action="system_usermanager_passwordmg.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 colspan="2" valign="top" class="listtopic"><?=$HTTP_SERVER_VARS['AUTH_USER']?>'s <?=gettext("Password"); ?></td>
</tr>
OpenPOWER on IntegriCloud