summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8d502b1)
When set to "false" the link to the TOS page is not displayed in the footer.
Defaults to "true".
*/
$cfg['enable_crypt'] = false;
*/
$cfg['enable_crypt'] = false;
+/* Enable the "Terms of service" page
+ */
+$cfg['enable_tos'] = true;
+
/* Length of link reference
*/
$cfg['link_name_length'] = 8;
/* Length of link reference
*/
$cfg['link_name_length'] = 8;
echo ' ' . t('DESIGNED') . ' ' . $cfg['organisation'];
}
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>';
+ }