diff --git a/src/Content/Nav.php b/src/Content/Nav.php index cd2cfb3639..b0fe8a14e6 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -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')]; diff --git a/view/templates/nav.tpl b/view/templates/nav.tpl index b6513e0fe8..3c71fa938a 100644 --- a/view/templates/nav.tpl +++ b/view/templates/nav.tpl @@ -12,6 +12,8 @@ {{if $nav.register}}{{$nav.register.1}}{{/if}} {{if $nav.help}} {{$nav.help.1}}{{/if}} + + {{if $nav.tos}} {{$nav.tos.1}}{{/if}} {{if $nav.apps}}{{$nav.apps.1}}{{/if}} diff --git a/view/theme/duepuntozero/templates/nav.tpl b/view/theme/duepuntozero/templates/nav.tpl index a47dca3902..fcab9dbdea 100644 --- a/view/theme/duepuntozero/templates/nav.tpl +++ b/view/theme/duepuntozero/templates/nav.tpl @@ -12,6 +12,8 @@ {{if $nav.register}}{{$nav.register.1}}{{/if}} {{if $nav.help}} {{$nav.help.1}}{{/if}} + + {{if $nav.tos}} {{$nav.tos.1}}{{/if}} {{if $nav.apps}}{{$nav.apps.1}}{{/if}} diff --git a/view/theme/frio/templates/nav.tpl b/view/theme/frio/templates/nav.tpl index 96f42e7ac6..c41243bc5c 100644 --- a/view/theme/frio/templates/nav.tpl +++ b/view/theme/frio/templates/nav.tpl @@ -161,6 +161,9 @@ {{if $nav.help}}