X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/3e84a5debe0984bea841016ba587b109031a7816..refs/heads/f_enable_tos:/lib/template/footer.php?ds=sidebyside diff --git a/lib/template/footer.php b/lib/template/footer.php index c7bad70..c2cc175 100644 --- a/lib/template/footer.php +++ b/lib/template/footer.php @@ -3,14 +3,21 @@ ' . t('JI_PROJECT') . '' . + ' ' . t('JI_PROJECT') . '' . ' (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') . ''; + } } ?>