summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/forms.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/include/forms.inc.php')
-rw-r--r--frontends/php/include/forms.inc.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index 2c360605..3ee9f2d7 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -1301,6 +1301,11 @@
echo form_input("tag",$tag,64);
show_table2_v_delimiter($col++);
+ echo S_MACADDRESS;
+ show_table2_h_delimiter();
+ echo form_input("macaddress",$macaddress,64);
+
+ show_table2_v_delimiter($col++);
echo S_HARDWARE;
show_table2_h_delimiter();
echo form_textarea("hardware",$hardware,50,4);
@@ -1327,7 +1332,7 @@
show_table2_v_delimiter2($col++);
echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"add profile\">";
- if(isset($escalationid))
+ if(isset($hostid))
{
echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"update profile\">";
echo "<input class=\"button\" type=\"submit\" name=\"register\" value=\"delete profile\" onClick=\"return Confirm('Delete selected profile?');\">";