Merge pull request #5065 from tobiasd/2018.05-rc

added link to the TOS page if it is activated
This commit is contained in:
Michael Vogel 2018-05-16 14:21:24 +02:00 committed by GitHub
commit e8e93768db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 18 additions and 0 deletions

View file

@ -174,6 +174,10 @@ class Nav
$nav['about'] = ['friendica', L10n::t('Information'), '', L10n::t('Information about this friendica instance')];
if (Config::get('system', 'tosdisplay')) {
$nav['tos'] = ['tos', L10n::t('Terms of Service'), '', L10n::t('Terms of Service of this Friendica instance')];
}
// The following nav links are only show to logged in users
if (local_user()) {
$nav['network'] = ['network', L10n::t('Network'), '', L10n::t('Conversations from your friends')];