print "<tr class=\"title\">
<td align='center' width=\"5%\"> </td>
- <td width=''><a href=\"#\" onclick=\"updateUsersList('login')\">".__('Login')."</a></td>
- <td width='20%'><a href=\"#\" onclick=\"updateUsersList('access_level')\">".__('Access Level')."</a></td>
+ <td width='30%'><a href=\"#\" onclick=\"updateUsersList('login')\">".__('Login')."</a></td>
+ <td width='30%'><a href=\"#\" onclick=\"updateUsersList('access_level')\">".__('Access Level')."</a></td>
<td width='20%'><a href=\"#\" onclick=\"updateUsersList('created')\">".__('Registered')."</a></td>
<td width='20%'><a href=\"#\" onclick=\"updateUsersList('last_login')\">".__('Last login')."</a></td></tr>";
$uid = $line["id"];
- print "<tr class=\"$class\" id=\"UMRR-$uid\">";
+ print "<tr id=\"UMRR-$uid\">";
$line["login"] = htmlspecialchars($line["login"]);
$line["created"] = make_local_datetime($this->link, $line["created"], false);
$line["last_login"] = make_local_datetime($this->link, $line["last_login"], false);
- print "<td align='center'><input onclick='toggleSelectRow(this);'
- type=\"checkbox\" id=\"UMCHK-$uid\"></td>";
+ print "<td align='center'><input onclick='toggleSelectRow2(this);'
+ dojoType=\"dijit.form.CheckBox\" type=\"checkbox\"
+ id=\"UMCHK-$uid\"></td>";
$onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'";
function editUser(id, event) {
try {
- if (!event || !event.ctrlKey) {
-
notify_progress("Loading, please wait...");
- selectTableRows('prefUserList', 'none');
- selectTableRowById('UMRR-'+id, 'UMCHK-'+id, true);
-
var query = "?op=pref-users&method=edit&id=" +
param_escape(id);
document.forms['user_edit_form'].login.focus();
} });
- } else if (event.ctrlKey) {
- var cb = $('UMCHK-' + id);
- cb.checked = !cb.checked;
- toggleSelectRow(cb);
- }
-
} catch (e) {
exception_error("editUser", e);
}