X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/e1740d86dfd1ee8c5bc02321984e6666bc71266f..refs/heads/f_enable_tos:/lib/template/footer.php
diff --git a/lib/template/footer.php b/lib/template/footer.php
index 64132c7..c2cc175 100644
--- a/lib/template/footer.php
+++ b/lib/template/footer.php
@@ -14,8 +14,10 @@
echo ' ' . t('DESIGNED') . ' ' . $cfg['organisation'];
}
- echo ' | ';
- echo '' . t('TOS') . '';
+ if (isset($cfg['enable_tos']) && $cfg['enable_tos']) {
+ echo ' | ';
+ echo '' . t('TOS') . '';
+ }
}
?>