From 739d8bf17383106a357b02844acb803ec1b1ea10 Mon Sep 17 00:00:00 2001 From: raulmateos Date: Mon, 21 Jun 2010 09:02:52 +0000 Subject: [PATCH] 2010-06-21 Raul Mateos * 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 --- pandora_console/ChangeLog | 4 ++++ pandora_console/godmode/alerts/alert_list.builder.php | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 9811b69778..fc53e39129 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2010-06-21 Raúl Mateos + + * godmode/alerts/alert_list_builder.php: Added link to create template. + 2010-06-19 Raúl Mateos * operation/agentes/networkmap.php: Added text if twopi binary not diff --git a/pandora_console/godmode/alerts/alert_list.builder.php b/pandora_console/godmode/alerts/alert_list.builder.php index 37c28261f6..6b9ed7124e 100644 --- a/pandora_console/godmode/alerts/alert_list.builder.php +++ b/pandora_console/godmode/alerts/alert_list.builder.php @@ -61,11 +61,17 @@ $table->data[0][1] .= ''; $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] .= ' '; +$table->data[1][1] .= print_image ('images/add.png', true); +$table->data[1][1] .= ''; +$table->data[1][1] .= __('Create Template'); +$table->data[1][1] .= ''; + $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] .= ' '; $table->data[2][1] .= ' ';