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] .= ' ';