Use "go links" when linking to Docs

This commit is contained in:
ljm42
2024-07-18 16:09:14 -07:00
parent a4abe0fa55
commit 234a749b7f
5 changed files with 7 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ require_once "$docroot/plugins/dynamix.vm.manager/include/libvirt_helpers.php";
$hardware = !empty(shell_exec("/etc/rc.d/rc.libvirt test"));
if (!$hardware) {
echo "<p class='notice'>"._('Your hardware does not have Intel VT-x or AMD-V capability').". "._('This is required to create VMs in KVM').". "._('Please disable the VM function').". ";
echo "<a href='https://docs.unraid.net/unraid-os/manual/vm-management#determining-hvmiommu-hardware-support' target='_blank'> "._('Click here to see the Unraid Wiki for more information')."</a></p>";
echo "<a href='https://docs.unraid.net/go/determining-hvmiommu-hardware-support' target='_blank'> "._('View the Docs for more information')."</a></p>";
}
function scan($area, $text) {

View File

@@ -88,7 +88,7 @@ _(Select Proxy)_:
>
> Outgoing connections from the webgui and some system processes will use the specified http proxy. Docker container installs and updates will use the proxy, but the container itself will not, neither will any VMs.
>
> For a more comprehensive solution you might consider setting up <u><a href='https://docs.unraid.net/unraid-os/manual/security/vpn/#configuring-vpn-tunneled-access-for-system/' target='_blank'>_(VPN tunnel access for System)_</a></u>.
> For a more comprehensive solution you might consider setting up <u><a href='https://docs.unraid.net/go/configuring-vpn-tunneled-access-for-system' target='_blank'>_(VPN tunnel access for System)_</a></u>.
:end
<p><strong>_(Outgoing Proxy)_ 1</strong></p>

View File

@@ -543,7 +543,7 @@ $theme_dark = in_array($display['theme'], ['black', 'gray']);
</div>
<? if (($twoFactorRequired && !empty($token)) || !$twoFactorRequired) { ?>
<p class="js-removeTimeout"><a href="https://docs.unraid.net/unraid-os/manual/troubleshooting#lost-root-password" target="_blank"><?=_('Password recovery')?></a></p>
<p class="js-removeTimeout"><a href="https://docs.unraid.net/go/lost-root-password" target="_blank"><?=_('Password recovery')?></a></p>
<? } ?>
</div>

View File

@@ -582,7 +582,7 @@ function viewHistory() {
}
function flashReport() {
$.post('/webGui/include/Report.php',{cmd:'config'},function(check){
if (check>0) addBannerWarning("<?=_('Your flash drive is corrupted or offline').'. '._('Post your diagnostics in the forum for help').'.'?> <a target='_blank' href='https://docs.unraid.net/unraid-os/manual/changing-the-flash-device'><?=_('See also here')?></a>");
if (check>0) addBannerWarning("<?=_('Your flash drive is corrupted or offline').'. '._('Post your diagnostics in the forum for help').'.'?> <a target='_blank' href='https://docs.unraid.net/go/changing-the-flash-device'><?=_('See also here')?></a>");
});
}
$(function() {
@@ -803,7 +803,7 @@ default:
}
echo "</span></span><span id='countdown'></span><span id='user-notice' class='red-text'></span>";
echo "<span id='copyright'>Unraid&reg; webGui &copy;2024, Lime Technology, Inc.";
echo " <a href='https://docs.unraid.net/category/manual' target='_blank' title=\""._('Online manual')."\"><i class='fa fa-book'></i> "._('manual')."</a>";
echo " <a href='https://docs.unraid.net/go/manual' target='_blank' title=\""._('Online manual')."\"><i class='fa fa-book'></i> "._('manual')."</a>";
echo "</span></div>";
?>
<script>

View File

@@ -64,7 +64,7 @@ if (!empty($strLoadedModules)) {
// Yah! CPU and motherboard supported and enabled in BIOS
$hvm = _('Enabled');
} else {
$hvm = '<a href="https://docs.unraid.net/unraid-os/manual/vm-management#system-preparation" target="_blank">';
$hvm = '<a href="https://docs.unraid.net/go/vm-system-preparation" target="_blank">';
if (strpos($strCPUInfo,'vmx')===false && strpos($strCPUInfo, 'svm')===false) {
// CPU doesn't support virtualization
$hvm .= _('Not Available');
@@ -82,7 +82,7 @@ if (!empty($iommu_groups)) {
// Yah! CPU and motherboard supported and enabled in BIOS
$iommu = _('Enabled');
} else {
$iommu = '<a href="https://docs.unraid.net/unraid-os/manual/vm-management#determining-hvmiommu-hardware-support" target="_blank">';
$iommu = '<a href="https://docs.unraid.net/go/determining-hvmiommu-hardware-support" target="_blank">';
if (strpos($strCPUInfo,'vmx')===false && strpos($strCPUInfo, 'svm')===false) {
// CPU doesn't support virtualization so iommu would be impossible
$iommu .= _('Not Available');