Use correct name in return to index page links

This commit is contained in:
Jamie Cameron
2018-11-25 17:12:15 -08:00
parent 43a715f7d9
commit 7369ab0d04
7 changed files with 10 additions and 8 deletions

View File

@@ -359,5 +359,5 @@ if ($in{'lv'} && @pvs > 1 && @pvinfo) {
print &ui_form_end([ [ undef, $text{'lv_moveok'} ] ]);
}
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'});

View File

@@ -89,5 +89,5 @@ else {
print &ui_form_end([ [ undef, $text{'pv_create2'} ] ]);
}
&ui_print_footer("index.cgi?mode=pvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=pvs", $text{'index_return2'});

View File

@@ -16,6 +16,8 @@ index_addlv3=Create a thin pool in <tt>$1</tt>.
index_addlv=Create a new logical volume.
index_addsnap=Create a new snapshot.
index_return=volume groups
index_return2=physical volumes
index_return3=logical volumes
index_init=This may be because LVM has not been activated yet. <a href='$1'>Activate it now</a> to view all volume groups.
index_eversion=Webmin only supports LVM versions 1.0 and above. The output from $1 on your system was : $2
index_version=LVM version $1

View File

@@ -21,6 +21,6 @@ $config{'lasttype_'.$in{'dev'}} = $in{'fs'};
&save_module_config();
&webmin_log("mkfs", "lv", $in{'dev'}, \%in);
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return'},
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'},
"edit_lv.cgi?vg=$in{'vg'}&lv=$in{'lv'}", $text{'lv_return'});

View File

@@ -20,5 +20,5 @@ print &ui_table_start($text{'mkfs_header'}, undef, 4);
print &ui_table_end();
print &ui_form_end([ [ undef, $text{'create'} ] ]);
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'});

View File

@@ -48,7 +48,7 @@ elsif ($in{'delete'}) {
}
print &ui_form_end([ [ 'confirm', $text{'lv_deleteok'} ] ]);
print "</center>\n";
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'});
}
elsif ($in{'rollback'}) {
# Ask the user if he is sure
@@ -61,7 +61,7 @@ elsif ($in{'rollback'}) {
"<tt>$lv->{'device'}</tt>"),"</b><p>\n";
print &ui_form_end([ [ 'confirm_rollback', $text{'lv_snaprollbackok'} ] ]);
print "</center>\n";
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'});
}
else {
# Validate inputs
@@ -222,7 +222,7 @@ else {
print "<b>$err</b> <p>\n";
print "<input type=submit name=sizeconfirm value='$text{'resize_ok'}'>\n";
print "</form></center>\n";
&ui_print_footer("", $text{'index_return'});
&ui_print_footer("index.cgi?mode=lvs", $text{'index_return3'});
exit;
}
}

View File

@@ -32,7 +32,7 @@ elsif ($in{'delete'}) {
"<tt>$pv->{'device'}</tt>"),"</b><p>\n";
print &ui_form_end([ [ 'confirm', $text{'pv_deleteok'} ] ]);
print "</center>\n";
&ui_print_footer("index.cgi?mode=pvs", $text{'index_return'});
&ui_print_footer("index.cgi?mode=pvs", $text{'index_return2'});
}
elsif ($in{'resize'}) {
# Scale up to match device