2009-08-30 Raul Mateos <raulofpandora@gmail.com>

* godmode/snmpconsole/snmp_alert.php: File not updated in last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2009-08-30 16:29:38 +00:00
parent 9452ce8ffa
commit 058d5db28f

View File

@ -134,9 +134,9 @@ if ((isset ($_GET["update_alert"])) && ($_GET["update_alert"] != -1)) {
if (isset ($_GET["update_alert"])) { if (isset ($_GET["update_alert"])) {
//the update_alert means the form should be displayed. If update_alert > 1 then an existing alert is updated //the update_alert means the form should be displayed. If update_alert > 1 then an existing alert is updated
if ($id_as) { if ($id_as) {
echo "<h2>".__('Update alert')."</h2>"; echo "<h2>".__('SNMP Console')." &raquo; ".__('Update alert')."</h2>";
} else { } else {
echo "<h2>".__('Create alert')."</h2>"; echo "<h2>".__('SNMP Console')." &raquo; ".__('Create alert')."</h2>";
} }
echo '<form name="agente" method="post" action="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_alert&submit='.$id_as.'">'; echo '<form name="agente" method="post" action="index.php?sec=gsnmpconsole&sec2=godmode/snmpconsole/snmp_alert&submit='.$id_as.'">';
echo '<table cellpadding="4" cellspacing="4" width="650" class="databox_color">'; echo '<table cellpadding="4" cellspacing="4" width="650" class="databox_color">';
@ -248,7 +248,7 @@ if (isset ($_GET["update_alert"])) {
// End table // End table
echo "</td></tr></table>"; echo "</td></tr></table>";
} else { } else {
echo "<h2>".__('Alert overview')."</h2>"; echo "<h2>".__('SNMP Console')." &raquo; ".__('Alert overview')."</h2>";
require_once ('include/functions_alerts.php'); require_once ('include/functions_alerts.php');