Fix to rename to get_webmin_base_url
and add clearer comment about the sub
This commit is contained in:
parent
c1545a5a5e
commit
b0c89fe440
File diff suppressed because one or more lines are too long
@ -127,7 +127,7 @@ print &ui_form_end();
|
|||||||
|
|
||||||
if ($gconfig{'forgot_pass'}) {
|
if ($gconfig{'forgot_pass'}) {
|
||||||
# Show forgotten password link
|
# Show forgotten password link
|
||||||
my $link = &get_webmin_login_link();
|
my $link = &get_webmin_base_url();
|
||||||
print &ui_form_start("${link}forgot_form.cgi", "post");
|
print &ui_form_start("${link}forgot_form.cgi", "post");
|
||||||
print &ui_hidden("failed", $in{'failed'});
|
print &ui_hidden("failed", $in{'failed'});
|
||||||
print &ui_form_end([ [ undef, $text{'session_forgot'} ] ]);
|
print &ui_form_end([ [ undef, $text{'session_forgot'} ] ]);
|
||||||
|
@ -13962,9 +13962,9 @@ foreach my $i (&get_all_module_infos(), &list_themes()) {
|
|||||||
return @rv;
|
return @rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
# get_webmin_login_link()
|
# get_webmin_base_url()
|
||||||
# Returns a link to the Webmin login page
|
# Returns a link to the Webmin login page for use from Usermin
|
||||||
sub get_webmin_login_link
|
sub get_webmin_base_url
|
||||||
{
|
{
|
||||||
return '' if (&get_product_name() eq 'webmin');
|
return '' if (&get_product_name() eq 'webmin');
|
||||||
my $wdir = $config_directory;
|
my $wdir = $config_directory;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user