mirror of
https://github.com/webmin/webmin.git
synced 2025-08-15 21:20:10 +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 ($@);
|
push(@needs, "DBD::mysql") if ($@);
|
||||||
if (@needs) {
|
if (@needs) {
|
||||||
$needs = &urlize(join(" ", @needs));
|
$needs = &urlize(join(" ", @needs));
|
||||||
print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
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'})),
|
"../cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".
|
||||||
"</b></center>\n";
|
&urlize($text{'index_return'})), 'warn')."</b>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -292,9 +292,9 @@ if (&foreign_available("cpan")) {
|
|||||||
push(@needs, "DBD::Pg") if ($@);
|
push(@needs, "DBD::Pg") if ($@);
|
||||||
if (@needs) {
|
if (@needs) {
|
||||||
$needs = &urlize(join(" ", @needs));
|
$needs = &urlize(join(" ", @needs));
|
||||||
print "<center><b>",&text(@needs == 2 ? 'index_nomods' : 'index_nomod', @needs,
|
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'})),
|
"../cpan/download.cgi?source=3&cpan=$needs&mode=2&return=/$module_name/&returndesc=".
|
||||||
"</b></center>\n";
|
&urlize($text{'index_return'})), 'warn')."</b>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user