alert('You cannot change the status of individual boxes while the "Mark All" box is checked.');
return false;
}
var count = $#users;
if (count == 1) {
var c = document.uf.MARK.checked;
document.uf.MARK.checked = 1-c;
} else {
var c = document.uf.MARK[num].checked;
if (dir==1) {
for (var i=0; i<=num; i++) {
document.uf.MARK[i].checked = 1-c;
}
}
if (dir==0) {
for (var i=num; i<count; i++) {
document.uf.MARK[i].checked = 1-c;
}
}
}
return false;
}
function mkall () {
var count = $#users;
var mktrue = document.uf.markall.checked;
if (typeof document.uf.markall.disabled != 'undefined') {
for (var i = 0; i < count; i++) {
document.uf.MARK[i].disabled = false;
document.uf.MARK[i].checked = mktrue;
document.uf.MARK[i].disabled = mktrue;
}
} else {
for (var i = 0; i < count; i++) {
document.uf.MARK[i].checked = mktrue;
}
}
}
function clearfields () {
document.uf.SELECTION_action.value = "";
document.uf.SELECTION_who.value = "";
}
function fsubmit (val) {
document.uf.s.value = val;
document.uf.submit();
}
function ua(action, number) {
if (action == 'd') {
if (number == '*') {
var m = confirm("Are you sure you want to delete all marked users?\n\nNote: Deleting users removes their account entirely from all groups. If you want to remove this user from this group but leave them registered in other groups, select Cancel now and use the 'Rem' icon.");
} else {
var m = confirm("Are you sure you want to delete '" + number + "'?\n\nNote: Deleting users removes their account entirely from all groups. If you want to remove this user from this group but leave them registered in other groups, select Cancel now and use the 'Rem' icon.");
}
if (m == true) {
document.uf.SELECTION_action.value = action;
document.uf.SELECTION_who.value = number;
document.uf.submit();
}
} else {
if (action == 'r') {
if (number == '*') {
var m = confirm("Are you sure you want to remove all marked users from this group?\n\nNote: Removing users from this group will leave any user accounts in other groups they may have. However, accounts registered only in this group will be deleted entirely.");
} else {
var m = confirm("Are you sure you want to remove '" + number + "' from this group?\n\nNote: Removing users from this group will leave any user accounts in other groups they may have. However, accounts registered only in this group will be deleted entirely.");
{#if $browser->{ieX}#}<p class="blbar">Add a User</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Add a User</font></font></td></tr></table>{#endif#}
{#if $browser->{ieX}#}<p class="blbar">Add a User List</p>{#else#}<table width=100% bgcolor=#000000><tr><td>$fs<font color=#ffff00>Add a User List</font></font></td></tr></table>{#endif#}
<p>
You can paste a delimited user list into this column. The program will parse the
incoming list to create user accounts automatically. Please paste in your user
list, but do not manually edit the text in the box once you have pasted in