Add ability to disable a user.
This commit is contained in:
@@ -570,7 +570,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
$onchange = "document.getElementById('hunt_group_user_list').value += document.getElementById('username').value + '\\n';";
|
||||
$table_name = 'v_users'; $field_name = 'username'; $field_current_value = ''; $sql_where_optional = "where domain_uuid = '$domain_uuid' ";
|
||||
$table_name = 'v_users'; $field_name = 'username'; $field_current_value = ''; $sql_where_optional = "where domain_uuid = '$domain_uuid' and user_enabled = 'true' ";
|
||||
echo html_select_on_change($db, $table_name, $field_name, $sql_where_optional, $field_current_value, $onchange);
|
||||
echo "<br />\n";
|
||||
echo "Use the select list to add users to the user list. This will assign users to this extension.\n";
|
||||
|
||||
Reference in New Issue
Block a user