Commit 14b91f58 authored by cfoe's avatar cfoe
Browse files

added groups to users_list (TODO: name resolution for group_ids)

parent b81e1a9e
......@@ -3,6 +3,7 @@ $wb['list_head_txt'] = 'Benutzer';
$wb['username_txt'] = 'Benutzername';
$wb["client_id_txt"] = 'Client ID';
$wb["active_txt"] = 'Aktiv';
$wb["groups_txt"] = 'Gruppen';
$wb['add_new_record_txt'] = 'Neuen Benutzer hinzufügen';
$wb['warning_txt'] = '<b>WARNUNG:</b> Bitte hier keine Benutzereinstellungen verändern. Benutzen Sie die Kunden- und Resellereinstellungen im Kundenmodul. Modifizieren der Benutzer oder Gruppen hier könnte zum Datenverlust führen!';
?>
......@@ -3,6 +3,7 @@ $wb["list_head_txt"] = 'Users';
$wb["username_txt"] = 'Username';
$wb["client_id_txt"] = 'Client ID';
$wb["active_txt"] = 'Active';
$wb["groups_txt"] = 'Groups';
$wb["add_new_record_txt"] = 'Add new user';
$wb["warning_txt"] = '<b>WARNING:</b> Do not edit or modify any user settings here. Use the Client- and Reseller settings in the Client module instead. Modifying or changing Users or groups here may cause data loss!';
?>
\ No newline at end of file
......@@ -62,7 +62,6 @@ $liste["item"][] = array( 'field' => "active",
'width' => "",
'value' => array('1' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>",'0' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>"));
$liste['item'][] = array( 'field' => 'username',
'datatype' => 'VARCHAR',
'op' => 'like',
......@@ -70,4 +69,11 @@ $liste['item'][] = array( 'field' => 'username',
'suffix' => '%',
'width' => '');
$liste['item'][] = array( 'field' => 'groups',
'datatype' => 'VARCHAR',
'op' => 'like',
'prefix' => '%',
'suffix' => '%',
'width' => '');
?>
\ No newline at end of file
......@@ -22,12 +22,14 @@
<th class="tbl_col_client_id" scope="col"><tmpl_var name="client_id_txt"></th>
<th class="tbl_col_active" scope="col"><tmpl_var name="active_txt"></th>
<th class="tbl_col_username" scope="col"><tmpl_var name="username_txt"></th>
<th class="tbl_col_groups" scope="col"><tmpl_var name="groups_txt"></th>
<th class="tbl_col_limit" scope="col">{tmpl_var name='search_limit'}</th>
</tr>
<tr>
<td class="tbl_col_client_id"><input type="text" name="search_client_id" value="{tmpl_var name='search_client_id'}" /></td>
<td class="tbl_col_active"><select name="search_active">{tmpl_var name='search_active'}</select></td>
<td class="tbl_col_username"><input type="text" name="search_username" value="{tmpl_var name='search_username'}" /></td>
<td class="tbl_col_groups"><select name="search_groups">{tmpl_var name='search_groups'}</select></td>
<td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','admin/users_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
</tr>
</thead>
......@@ -37,6 +39,7 @@
<td class="tbl_col_client_id"><a href="#" onClick="loadContent('admin/users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="client_id"}</a></td>
<td class="tbl_col_active"><a href="#" onClick="loadContent('admin/users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="active"}</a></td>
<td class="tbl_col_username"><a href="#" onClick="loadContent('admin/users_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="username"}</a></td>
<td class="tbl_col_groups">{tmpl_var name="groups"}</td>
<td class="tbl_col_buttons">
<div class="buttons icons16">
<tmpl_if name="username" op="!=" value="admin">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment