2011-02-15 Javier Lanz <javier.lanz@artica.es>

* godmode/users/configure_user.php: Truncated group name on user detail
	editor


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-02-15 13:06:08 +00:00
parent b85070694e
commit d438d7e0e4
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2011-02-15 Javier Lanz <javier.lanz@artica.es>
* godmode/users/configure_user.php: Truncated group name on user detail
editor
2011-02-15 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: erased the "prediction module" for

View File

@ -327,7 +327,7 @@ if (empty ($id) || $new_user)
echo '<h3>'.__('Profiles/Groups assigned to this user').'</h3>';
$table->width = '50%';
$table->width = '75%';
$table->data = array ();
$table->head = array ();
$table->align = array ();
@ -348,7 +348,7 @@ foreach ($result as $profile) {
$data = array ();
$data[0] = '<a href="index.php?sec=gusaurios&amp;sec2=godmode/users/configure_profile&id='.$profile['id_perfil'].'">'.get_profile_name ($profile['id_perfil']).'</a>';
$data[1] = print_group_icon($profile["id_grupo"],true).' <a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id='.$profile['id_grupo'].'">'.get_group_name ($profile['id_grupo'], True).'</a>';
$data[1] = print_group_icon($profile["id_grupo"],true).' <a href="index.php?sec=estado&sec2=operation/agentes/estado_agente&refr=60&group_id='.$profile['id_grupo'].'">'.printTruncateText(get_group_name ($profile['id_grupo'], True), 35).'</a>';
$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 ('id_user_profile', $profile['id_up'], true);