diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index fe658f273a..382792cacb 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2010-04-14 Sergio Martin + + * godmode/alerts/alert_list.php, + godmode/alerts/alert_list.list.php: Changed a button between the files + to clean source code + 2010-04-14 Sergio Martin * godmode/reporting/map_builder.php: Added Delete visual console diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index b3fa9cd07e..38360e0284 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -90,6 +90,7 @@ echo "\n"; + //END DIV OF FORM FILTER $simple_alerts = array(); @@ -336,6 +337,13 @@ print_submit_button (__('Add'), 'add_action', false, 'class="sub next"'); echo ''; echo ''; +// Create alert button +echo '
'; +echo '
'; +print_submit_button (__('Create'), 'crtbtn', false, 'class="sub next"'); +echo '
'; +echo '
'; + require_css_file ('cluetip'); require_jquery_file ('cluetip'); require_jquery_file ('pandora.controls'); @@ -446,4 +454,4 @@ $(document).ready (function () { }); }); /* ]]> */ - \ No newline at end of file + diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index 65d99be1ac..cddedbb47b 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -192,12 +192,6 @@ else { $agents = get_group_agents (array_keys ($groups), false, "none"); require_once('godmode/alerts/alert_list.list.php'); - - echo '
'; - echo '
'; - print_submit_button (__('Create'), 'crtbtn', false, 'class="sub next"'); - echo '
'; - echo '
'; return; break;