diff --git a/lvm/CHANGELOG b/lvm/CHANGELOG
index f108c44f9..ae11f0877 100644
--- a/lvm/CHANGELOG
+++ b/lvm/CHANGELOG
@@ -8,3 +8,4 @@ When viewing a physical volume, the space used by each logical volume on it is d
Fixed display of space used on each physical volume by a logical volume for LVM version 2.
---- Changes since 1.390 ----
Re-designed the module's main page to use tabs, and added an option to show volumes and groups in tables (with more information) instead of using icons.
+Converted all user interface code to use the new Webmin UI library.
diff --git a/lvm/edit_lv.cgi b/lvm/edit_lv.cgi
index 0bab18779..a8e43ff15 100755
--- a/lvm/edit_lv.cgi
+++ b/lvm/edit_lv.cgi
@@ -23,128 +23,105 @@ else {
$vg->{'pe_size'} };
}
-print "
\n";
if ($in{'lv'} && !$stat[2] && !$lv->{'is_snap'}) {
# Show button for creating filesystems
print "\n";
- print "
") if ($err);
&webmin_log("delete", "lv", $in{'lv'}, $lv);
- &redirect("");
+ &redirect("index.cgi?mode=lvs");
}
elsif ($in{'delete'}) {
# Ask the user if he is sure
&ui_print_header(undef, $text{'lv_delete'}, "");
- print "
") if ($err);
&webmin_log("delete", "pv", $in{'pv'}, $pv);
- &redirect("");
+ &redirect("index.cgi?mode=pvs");
}
elsif ($in{'delete'}) {
# Ask the user if he is sure
&ui_print_header(undef, $text{'pv_delete'}, "");
- print "