X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/85b1ac6414601717c4bb94b12ea724e10b78f2a6..refs/heads/f_enable_tos:/lib/template/footer.php diff --git a/lib/template/footer.php b/lib/template/footer.php index 637ce42..c2cc175 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -4,14 +4,20 @@ ' . t('JI_PROJECT') . '' . - '
' . t('DESIGNED') . ' ' . $cfg['contactperson'] . '
' . ' (AGPL-3.0)'; ?> | '; - echo '' . t('TOS') . ''; + if(false === empty($cfg['organisation'])) { + echo ' | '; + echo ' ' . t('DESIGNED') . ' ' . $cfg['organisation']; + } + + if (isset($cfg['enable_tos']) && $cfg['enable_tos']) { + echo ' | '; + echo '' . t('TOS') . ''; + } } ?>