';
echo ' ';
echo ''.__('Source agent').'
';
$agent_selected = get_parameter_post ("origen", 0);
$agents = get_group_agents (array_keys (get_user_groups ($config["id_user"], "AW")));
print_select ($agents, "origen", $agent_selected, 'javascript:this.form.update_agent.click();', __('No agent selected'), '0', false, false, false, 'w130');
echo ' ';
print_submit_button (__('Get Info'), 'update_agent', false, 'style="display:none;"');
echo '
';
echo ''.__('Modules').'
';
$module_selected = get_parameter_post ("origen", array ());
$modules = get_agent_modules ($module_selected, false, 'delete_pending != 1');
print_select ($modules, "origen_modulo[]", $module_selected, '', '', '0', false, true, false, 'w130');
echo ' '; //Left div
echo ''.__('Purge data out of these limits').'';
echo ' ';
echo __('Minimum').': ';
echo ' | ';
print_input_text ("min", 0, __('Minimum'), 4, 0, false);
echo ' | ';
echo '';
echo __('Maximum').': ';
echo ' | ';
print_input_text ("max", 0, __('Maximum'), 4, 0, false);
echo ' | ';
echo '
';
echo ' ';
echo ' ';
print_submit_button (__('Delete'), 'eliminar', false, 'class="sub delete" onClick="if (!confirm(\''.__('Are you sure?').'\')) return false;"');
echo ' |