When set to "false" the link to the TOS page is not displayed in the footer.
Defaults to "true".
*/
$cfg['enable_crypt'] = false;
+/* Enable the "Terms of service" page
+ */
+$cfg['enable_tos'] = true;
+
/* Length of link reference
*/
$cfg['link_name_length'] = 8;
echo ' ' . t('DESIGNED') . ' ' . $cfg['organisation'];
}
- echo ' <span>|</span> ';
- echo '<a href="tos.php" target="_blank" rel="nooener noreferrer">' . t('TOS') . '</a>';
+ if (isset($cfg['enable_tos']) && $cfg['enable_tos']) {
+ echo ' <span>|</span> ';
+ echo '<a href="tos.php" target="_blank" rel="nooener noreferrer">' . t('TOS') . '</a>';
+ }
}
?>
</p>