mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
(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
6f6ad56807
commit
a100b05890
@ -1,6 +1,6 @@
|
|||||||
2006-07-20 Raul Mateos <raulofpandora@gmail.com>
|
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>
|
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"];
|
$alert_delete = $_GET["delete_alert"];
|
||||||
$sql1='DELETE FROM talert_snmp WHERE id_as = '.$alert_delete;
|
$sql1='DELETE FROM talert_snmp WHERE id_as = '.$alert_delete;
|
||||||
$result=mysql_query($sql1);
|
$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)
|
// Alert submit (for insert or update)
|
||||||
if (isset($_GET["submit"])){
|
if (isset($_GET["submit"])){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user