mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
Fix to change links from absolute to relative
https://forum.virtualmin.com/t/cloudmin-link-install-occurs-on-primary-instead-of-linked-guest/116507
This commit is contained in:
@ -322,9 +322,9 @@ else {
|
||||
push(@needs, "DBD::mysql") if ($@);
|
||||
if (@needs) {
|
||||
$needs = &urlize(join(" ", @needs));
|
||||
print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
||||
"/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),
|
||||
"</b></center>\n";
|
||||
print "<b>".&ui_text_color(&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
||||
"../cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".
|
||||
&urlize($text{'index_return'})), 'warn')."</b>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -292,9 +292,9 @@ if (&foreign_available("cpan")) {
|
||||
push(@needs, "DBD::Pg") if ($@);
|
||||
if (@needs) {
|
||||
$needs = &urlize(join(" ", @needs));
|
||||
print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
||||
"/cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".&urlize($text{'index_return'})),
|
||||
"</b></center>\n";
|
||||
print "<b>".&ui_text_color(&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
||||
"../cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".
|
||||
&urlize($text{'index_return'})), 'warn')."</b>";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user