- if (false === empty($cfg['web_root']))
- {
- echo ' | ';
- echo '<a href="' . $cfg['web_root'] . '/tos.php">' . t('Term Of Service') . '</a>';
+ if (false === empty($cfg['installation_done'])) {
+ echo ' <span>|</span> ';
+ echo '<a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>';