mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
ftfy hth hand
git-svn-id: http://www.observium.org/svn/observer/trunk@2020 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -11,11 +11,14 @@ if ($_REQUEST['id'])
|
||||
echo(delete_device(mres($_REQUEST['id'])));
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
echo('<form name="form1" method="post" action='.$config['base_url'].'"/delhost/">
|
||||
<form name="form1" method="post" action="">
|
||||
<h1>Delete Host</h1>
|
||||
<br />
|
||||
<p><select name="id">');
|
||||
<p><select name="id">
|
||||
|
||||
<?php
|
||||
|
||||
$query = mysql_query("SELECT * FROM `devices` ORDER BY `hostname`");
|
||||
|
||||
|
@ -65,16 +65,11 @@ if ($updated && $update_message)
|
||||
<tr>
|
||||
<td>
|
||||
<h5>
|
||||
<?php
|
||||
|
||||
echo("
|
||||
<form id='delete_host' name='delete_host' method='post' action='".$config['base_url']."/delhost/'>
|
||||
<img src='images/16/server_delete.png' align='absmiddle'>
|
||||
<input type=hidden name=id value='".$device['device_id']."'>
|
||||
<input type=submit class=submit name='Submit' value='Delete Host'>
|
||||
</form>");
|
||||
|
||||
?>
|
||||
<form id="delete_host" name="delete_host" method="post" action="">
|
||||
<img src="images/16/server_delete.png" align="absmiddle">
|
||||
<input type="hidden" name="id" value="<?php echo($device['device_id']); ?>">
|
||||
<input type="submit" class="submit" name="Submit" value="Delete Host">
|
||||
</form>
|
||||
</h5>
|
||||
|
||||
<form id="edit" name="edit" method="post" action="">
|
||||
|
Reference in New Issue
Block a user