diff --git a/html/pages/addhost.inc.php b/html/pages/addhost.inc.php
index 2e3202b8e2..1df7651bb8 100644
--- a/html/pages/addhost.inc.php
+++ b/html/pages/addhost.inc.php
@@ -7,10 +7,12 @@ if ($_SESSION['userlevel'] < 10)
exit;
}
-echo("
Add Device
");
-
if ($_POST['hostname'])
{
+ echo('
+
+
+
');
if ($_SESSION['userlevel'] > '5')
{
// Settings common to SNMPv2 & v3
@@ -56,36 +58,43 @@ if ($_POST['hostname'])
} else {
print_error("You don't have the necessary privileges to add hosts.");
}
+ echo('
+
+
+
');
}
$pagetitle[] = "Add host";
?>
+