Make textboxes wider
authorJamie Cameron <jcameron@webmin.com>
Wed, 22 Apr 2009 18:43:38 +0000 (18:43 +0000)
committerJamie Cameron <jcameron@webmin.com>
Wed, 22 Apr 2009 18:43:38 +0000 (18:43 +0000)
bind8/CHANGELOG
bind8/conf_manual.cgi
bind8/edit_text.cgi

index de08a91..1a7a14e 100644 (file)
@@ -105,3 +105,4 @@ SPF records longer than 255 bytes are automatically split into separate fields i
 When adding a master zone with automatically created slaves, add an also-notify block to the master configuration to update the slaves.
 ---- Changes since 1.480 ----
 Added mass record change and creation buttons to the zone search results page.
+Made the manual config file editor textboxes full-width.
index 1ff1e61..3ec2d2f 100755 (executable)
@@ -22,8 +22,11 @@ print &ui_form_end();
 # Show the file contents
 print &ui_form_start("save_manual.cgi", "form-data");
 print &ui_hidden("file", $in{'file'}),"\n";
+print &ui_table_start(undef, "width=100%", 2);
 $data = &read_file_contents(&make_chroot($in{'file'}));
-print &ui_textarea("data", $data, 20, 80),"\n";
+print &ui_table_row(undef,
+       &ui_textarea("data", $data, 20, 80, undef, 0, "style='width:100%'"), 2);
+print &ui_table_end();
 print &ui_form_end([ [ "save", $text{'save'} ] ]);
 
 &ui_print_footer("", $text{'index_return'});
index 9fe907e..9bb1d99 100755 (executable)
@@ -19,7 +19,7 @@ if (!$access{'ro'}) {
        }
 
 print &ui_form_start("save_text.cgi", "form-data");
-print &ui_table_start(undef, undef, 2);
+print &ui_table_start(undef, "width=100%", 2);
 print &ui_hidden("index", $in{'index'});
 print &ui_hidden("view", $in{'view'});
 print &ui_table_row(undef, &ui_textarea("text", $text, 20, 80,