2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: fixed the filter of the list of agents. The branch 4 runs fine. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
23d36cbf5c
commit
0b88906925
|
@ -1,3 +1,8 @@
|
||||||
|
2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/modificar_agente.php: fixed the filter of the
|
||||||
|
list of agents. The branch 4 runs fine.
|
||||||
|
|
||||||
2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
|
2013-06-20 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* godmode/events/events.php, operation/netflow/nf_live_view.php:
|
* godmode/events/events.php, operation/netflow/nf_live_view.php:
|
||||||
|
|
|
@ -48,13 +48,13 @@ $tab = 'view';
|
||||||
|
|
||||||
/* Setup tab */
|
/* Setup tab */
|
||||||
$viewtab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/estado_agente">'
|
$viewtab['text'] = '<a href="index.php?sec=estado&sec2=operation/agentes/estado_agente">'
|
||||||
. html_print_image ("images/operation.png", true, array ("title" =>__('View')))
|
. html_print_image ("images/operation.png", true, array ("title" =>__('View')))
|
||||||
. '</a>';
|
. '</a>';
|
||||||
|
|
||||||
$viewtab['operation'] = true;
|
$viewtab['operation'] = true;
|
||||||
|
|
||||||
$viewtab['active'] = false;
|
$viewtab['active'] = false;
|
||||||
|
|
||||||
$onheader = array('view' => $viewtab);
|
$onheader = array('view' => $viewtab);
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
|
@ -124,18 +124,10 @@ if ($disable_agent) {
|
||||||
__('Successfully disabled'), __('Could not be disabled'));
|
__('Successfully disabled'), __('Could not be disabled'));
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "<table cellpadding='4' cellspacing='4' class='databox' width='98%' style='font-weight: bold; margin-bottom: 10px;'><tr>";
|
echo "<table cellpadding='4' cellspacing='4' class='databox' width='98%' style='font-weight: bold; margin-bottom: 10px;'>
|
||||||
|
<tr>";
|
||||||
// Show group selector
|
echo "<form method='post'
|
||||||
if (isset($_POST["ag_group"])) {
|
|
||||||
$ag_group = get_parameter_post ("ag_group");
|
|
||||||
echo "<form method='post'
|
|
||||||
action='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&ag_group_refresh=".$ag_group."'>";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
echo "<form method='post'
|
|
||||||
action='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente'>";
|
action='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente'>";
|
||||||
}
|
|
||||||
|
|
||||||
echo "<td>";
|
echo "<td>";
|
||||||
|
|
||||||
|
@ -147,21 +139,14 @@ else
|
||||||
$return_all_group = true;
|
$return_all_group = true;
|
||||||
html_print_select_groups(false, "AR", $return_all_group, "ag_group", $ag_group, 'this.form.submit();', '', 0, false, false, true, '', false, 'width:100px;');
|
html_print_select_groups(false, "AR", $return_all_group, "ag_group", $ag_group, 'this.form.submit();', '', 0, false, false, true, '', false, 'width:100px;');
|
||||||
|
|
||||||
echo "<td valign='top'>
|
echo "<td>";
|
||||||
<noscript>
|
|
||||||
<input name='uptbutton' type='submit' class='sub upd' value='".__('Show')."'>
|
|
||||||
</noscript>
|
|
||||||
</td>
|
|
||||||
<td>";
|
|
||||||
echo __('Recursion') . ' ';
|
echo __('Recursion') . ' ';
|
||||||
html_print_checkbox ("recursion", 1, $recursion, false, false, 'this.form.submit()');
|
html_print_checkbox ("recursion", 1, $recursion, false, false, 'this.form.submit()');
|
||||||
|
|
||||||
echo "</td></form><td>";
|
echo "</td><td>";
|
||||||
echo __('Search') . ' ';
|
echo __('Search') . ' ';
|
||||||
html_print_input_text ("search", $search, '', 12);
|
html_print_input_text ("search", $search, '', 12);
|
||||||
|
|
||||||
// Show group selector
|
|
||||||
echo "<form method='post' action='index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&refr=60&ag_group_refresh=$ag_group&recursion=$recursion'>";
|
|
||||||
echo "</td><td>";
|
echo "</td><td>";
|
||||||
echo "<input name='srcbutton' type='submit' class='sub search' value='".__('Search')."'>";
|
echo "<input name='srcbutton' type='submit' class='sub search' value='".__('Search')."'>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
Loading…
Reference in New Issue