2010-06-21 Raul Mateos <raulofpandora@gmail.com>

* godmode/alerts/alert_list_builder.php: Added link to create template.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-06-21 09:02:52 +00:00
parent f2fbcbc7d2
commit 736fac53a1
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-06-21 Raúl Mateos <raulofpandora@gmail.com>
* godmode/alerts/alert_list_builder.php: Added link to create template.
2010-06-19 Raúl Mateos <raulofpandora@gmail.com>
* operation/agentes/networkmap.php: Added text if twopi binary not

View File

@ -61,11 +61,17 @@ $table->data[0][1] .= '<img src="images/spinner.png" /></span>';
$table->data[1][0] = __('Template');
$templates = get_alert_templates (false, array ('id', 'name'));
$table->data[1][1] = print_select (index_array ($templates, 'id', 'name'),
'template', '', '', __('Select'), 0, true);
$table->data[1][1] .= ' <a class="template_details invisible" href="#">
<img class="img_help" src="images/zoom.png" /></a>';
$table->data[1][1] .= print_image ('images/add.png', true);
$table->data[1][1] .= '<a href="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_template">';
$table->data[1][1] .= __('Create Template');
$table->data[1][1] .= '</a>';
$table->data[2][0] = __('Actions');
$actions = array ('0' => __('None'));
@ -75,9 +81,9 @@ $table->data[2][1] = print_select($actions,'action_select','','','','',true);
$table->data[2][1] .= ' <span id="action_loading" class="invisible">';
$table->data[2][1] .= '<img src="images/spinner.png" /></span>';
$table->data[2][1] .= ' <span id="advanced_action" class="advanced_actions invisible">';
$table->data[2][1] .= __('Number of alerts match from').' ';
$table->data[2][1] .= __('Number of alerts match from').' ';
$table->data[2][1] .= print_input_text ('fires_min', '', '', 4, 10, true);
$table->data[2][1] .= ' '.__('to').' ';
$table->data[2][1] .= ' '.__('to').' ';
$table->data[2][1] .= print_input_text ('fires_max', '', '', 4, 10, true);
$table->data[2][1] .= print_help_icon ("alert-matches", true);
$table->data[2][1] .= '</span>';