2010-09-29 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php operation/messages/message.php: Fixed the ACLs to show only the user group users in the destination users combo for bug: 3077857 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a921364450
commit
1940382424
|
@ -1,3 +1,10 @@
|
|||
2010-09-29 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_db.php
|
||||
operation/messages/message.php: Fixed the ACLs
|
||||
to show only the user group users in the destination
|
||||
users combo for bug: 3077857
|
||||
|
||||
2010-09-29 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/massive/massive_copy_modules.php: Fixed the
|
||||
|
|
|
@ -3527,7 +3527,7 @@ function process_sql_rollback () {
|
|||
function get_group_users ($id_group, $filter = false) {
|
||||
if (! is_array ($filter))
|
||||
$filter = array ();
|
||||
$filter['id_grupo'] = (int) $id_group;
|
||||
$filter['id_grupo'] = $id_group;
|
||||
$resulta = array();
|
||||
$resulta = get_db_all_rows_filter ("tusuario_perfil", $filter);
|
||||
|
||||
|
|
|
@ -84,7 +84,13 @@ if (isset ($_GET["new_msg"])) { //create message
|
|||
<td class="datos2">'.__('Message to').':</td>
|
||||
<td class="datos2">';
|
||||
|
||||
$users = get_users_info (); //Get a list of all users
|
||||
$users_full = get_group_users(array_keys(get_user_groups()));
|
||||
|
||||
$users = array();
|
||||
foreach ($users_full as $user_id => $user_info) {
|
||||
$users[$user_info['id_user']] = $user_info['fullname'];
|
||||
}
|
||||
|
||||
$groups = get_user_groups ($config["id_user"], "AR"); //Get a list of all groups
|
||||
|
||||
print_select ($users, "dest_user", $dest_user, '', __('-Select user-'), false, false, false, '', false);
|
||||
|
|
Loading…
Reference in New Issue