mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Improvements to UI for editing long TXT records
This commit is contained in:
@@ -1013,7 +1013,7 @@ elsif ($type eq "HINFO") {
|
||||
}
|
||||
elsif ($type eq "TXT") {
|
||||
print &ui_table_row($text{'value_TXT1'},
|
||||
&ui_textbox("value0", join("", @v), 80), 3);
|
||||
&ui_textarea("value0", join("", @v), 5, 80, "soft"), 3);
|
||||
}
|
||||
elsif ($type eq "WKS") {
|
||||
# Well known server
|
||||
|
||||
@@ -218,6 +218,8 @@ else {
|
||||
}
|
||||
elsif ($in{'type'} eq "TXT") {
|
||||
$fullvals = $in{'value0'};
|
||||
$fullvals =~ s/\r//g;
|
||||
$fullvals =~ s/\n/ /g;
|
||||
$fullvals =~ s/((?:^|[^\\])(?:\\\\)*)[\"]/$1\\\"/g;
|
||||
@splitvals = ( );
|
||||
while($fullvals) {
|
||||
|
||||
Reference in New Issue
Block a user