mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2010-04-22 Sergio Martin <sergio.martin@artica.es>
* operation/users/user_edit.php godmode/users/configure_user.php: Changed the All group on combos from 1 to 0 and fix the group all on tables git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
47c7815061
commit
9710f1c433
@ -1,3 +1,10 @@
|
|||||||
|
2010-04-22 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* operation/users/user_edit.php
|
||||||
|
godmode/users/configure_user.php: Changed the
|
||||||
|
All group on combos from 1 to 0 and fix the
|
||||||
|
group all on tables
|
||||||
|
|
||||||
2010-04-22 Sergio Martin <sergio.martin@artica.es>
|
2010-04-22 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
* operation/incidents/incident.php: Changed the
|
* operation/incidents/incident.php: Changed the
|
||||||
|
@ -298,7 +298,7 @@ foreach ($result as $profile) {
|
|||||||
$data = array ();
|
$data = array ();
|
||||||
|
|
||||||
$data[0] = '<a href="index.php?sec=gperfiles&sec2=godmode/profiles/profile_list&id='.$profile['id_perfil'].'">'.get_profile_name ($profile['id_perfil']).'</a>';
|
$data[0] = '<a href="index.php?sec=gperfiles&sec2=godmode/profiles/profile_list&id='.$profile['id_perfil'].'">'.get_profile_name ($profile['id_perfil']).'</a>';
|
||||||
$data[1] = '<a href="index.php?sec=gagente&sec2=godmode/groups/group_list&id_group='.$profile['id_grupo'].'">'.get_group_name ($profile['id_grupo']).'</a>';
|
$data[1] = '<a href="index.php?sec=gagente&sec2=godmode/groups/group_list&id_group='.$profile['id_grupo'].'">'.get_group_name ($profile['id_grupo'], True).'</a>';
|
||||||
$data[2] = '<form method="post" onsubmit="if (!confirm (\''.__('Are you sure?').'\')) return false">';
|
$data[2] = '<form method="post" onsubmit="if (!confirm (\''.__('Are you sure?').'\')) return false">';
|
||||||
$data[2] .= print_input_hidden ('delete_profile', 1, true);
|
$data[2] .= print_input_hidden ('delete_profile', 1, true);
|
||||||
$data[2] .= print_input_hidden ('id_user_profile', $profile['id_up'], true);
|
$data[2] .= print_input_hidden ('id_user_profile', $profile['id_up'], true);
|
||||||
@ -314,7 +314,7 @@ $data[0] = '<form method="post">';
|
|||||||
$data[0] .= print_select (get_profiles (), 'assign_profile', 0, '', __('None'),
|
$data[0] .= print_select (get_profiles (), 'assign_profile', 0, '', __('None'),
|
||||||
0, true, false, false);
|
0, true, false, false);
|
||||||
$data[1] = print_select (get_user_groups ($config['id_user'], 'UM'),
|
$data[1] = print_select (get_user_groups ($config['id_user'], 'UM'),
|
||||||
'assign_group', 0, '', __('None'), 0, true, false, false);
|
'assign_group', -1, '', __('None'), -1, true, false, false);
|
||||||
$data[2] = print_input_image ('add', 'images/add.png', 1, '', true);
|
$data[2] = print_input_image ('add', 'images/add.png', 1, '', true);
|
||||||
$data[2] .= print_input_hidden ('id', $id, true);
|
$data[2] .= print_input_hidden ('id', $id, true);
|
||||||
$data[2] .= print_input_hidden ('add_profile', 1, true);
|
$data[2] .= print_input_hidden ('add_profile', 1, true);
|
||||||
|
@ -162,7 +162,7 @@ if ($result === false) {
|
|||||||
|
|
||||||
foreach ($result as $profile) {
|
foreach ($result as $profile) {
|
||||||
$data[0] = '<b>'.get_profile_name ($profile["id_perfil"]).'</b>';
|
$data[0] = '<b>'.get_profile_name ($profile["id_perfil"]).'</b>';
|
||||||
$data[1] = '<b>'.get_group_name ($profile["id_grupo"]).'</b>';
|
$data[1] = '<b>'.get_group_name ($profile["id_grupo"], true).'</b>';
|
||||||
array_push ($table->data, $data);
|
array_push ($table->data, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user