'. __('Source group'). '
';
$group_select = get_user_groups ($config['id_user']);
$grouplist = implode (',', array_keys ($group_select));
echo print_select ($group_select, 'id_group', $id_group, '', '', '', true);
echo ' ';
echo '';
echo '
';
// Source agent
echo ''. __('Source agent').'';
print_help_icon ('duplicateconfig');
echo '
';
// Show combo with SOURCE agents
if ($id_group > 1)
$sql1 = "SELECT * FROM tagente WHERE id_grupo = $id_group ORDER BY nombre ";
else
$sql1 = "SELECT * FROM tagente WHERE id_group IN ($grouplist) ORDER BY nombre";
echo '';
// Destination agent
echo ' |