\n";
+print "| $text{'esh_desc'} | \n";
+print "";
+print &ui_textbox("desc", ( $sha ? &html_escape($sha->{'comment'}) : "" ), 60);
+print " | ";
+print " ";
-print " | $text{'esh_desc'} | \n";
-printf " | \n",
- $sha ? &html_escape($sha->{'comment'}) : "";
-
-print " | $text{'esh_netname'} | \n";
-printf " | \n",
- $sha ? $sha->{'values'}->[0] : "";
+print " | $text{'esh_netname'} | \n";
+print "";
+print &ui_textbox("name", ( $sha ? $sha->{'values'}->[0] : "" ), 15);
+print " | ";
&display_params($sconf, "shared-network");
-print " \n";
+print "\n";
foreach $h (&find("host", $conf)) {
push(@host, $h) if &can('r', \%access, $h);
}
@@ -129,7 +129,8 @@ if (!$in{'new'}) {
}
print " | \n";
-print " | \n";
+print &ui_table_end();
+
if (!$in{'new'}) {
print "\n";
print "\n";
@@ -178,6 +179,6 @@ if ($config{'dhcpd_version'} >= 3 && !$in{'new'}) {
"$text{'esub_pooladd'} \n";
}
-print "\n";
+print &ui_form_end();
&ui_print_footer("", $text{'esh_return'});
|