(Pandora Console)
* snmp_alert.php. Add text when alert not deleted git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
8a940a3ea3
commit
82f4d0fde1
|
@ -1,6 +1,6 @@
|
|||
2006-07-20 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
||||
* snmp_alert.php. Add text when alert not created /updated. Add different colors between rows (cosmetic changes).
|
||||
* snmp_alert.php. Add text when alert not created /updated / deleted. Add different colors between rows (cosmetic changes).
|
||||
|
||||
|
||||
2006-07-18 Raul Mateos <raulofpandora@gmail.com>
|
||||
|
|
|
@ -49,6 +49,10 @@ if (give_acl($id_user, 0, "LW")==1) {
|
|||
$alert_delete = $_GET["delete_alert"];
|
||||
$sql1='DELETE FROM talert_snmp WHERE id_as = '.$alert_delete;
|
||||
$result=mysql_query($sql1);
|
||||
if (!$result)
|
||||
echo "<h3 class='error'>".$lang_label["delete_alert_no"]."</h3>";
|
||||
else
|
||||
echo "<h3 class='suc'>".$lang_label["delete_alert_ok"]."</h3>";
|
||||
}
|
||||
// Alert submit (for insert or update)
|
||||
if (isset($_GET["submit"])){
|
||||
|
|
Loading…
Reference in New Issue