mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Updated services edit / delete pages
This commit is contained in:
10
html/includes/service-add.inc.php
Normal file
10
html/includes/service-add.inc.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
$updated = '1';
|
||||
|
||||
$service_id = add_service(mres($_POST['device']), mres($_POST['type']), mres($_POST['descr']), mres($_POST['ip']), mres($_POST['params']));
|
||||
|
||||
if ($service_id) {
|
||||
$message .= $message_break . "Service added (".$service_id.")!";
|
||||
$message_break .= "<br />";
|
||||
}
|
Reference in New Issue
Block a user