mirror of
https://github.com/unraid/webgui.git
synced 2026-01-23 18:09:02 -06:00
fix: only add link when it is valid
This commit is contained in:
@@ -360,9 +360,12 @@ echo "</ul></dd></dl>\n";
|
||||
_(Self-signed or user-provided certificate)_:
|
||||
: <?=$cert1File?>
|
||||
|
||||
<?if ($cert1URLvalid):?>
|
||||
<?if ($cert1URLvalid && $var['USE_SSL']=='yes'):?>
|
||||
_(Certificate URL)_:
|
||||
: [<?=$cert1URL?>](https://<?=$cert1URL?>:<?=$var['PORTSSL']?>)
|
||||
<?elseif ($cert1URLvalid):?>
|
||||
_(Certificate URL)_:
|
||||
: <?=$cert1URL?>
|
||||
<?else:?>
|
||||
_(Certificate URL)_:
|
||||
: Certificate not valid for <?=$cert1URL?>
|
||||
|
||||
Reference in New Issue
Block a user