]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Nav.php
added link to the TOS page if it is activated
[friendica.git] / src / Content / Nav.php
index cd2cfb3639044f116b3234d47df94cd05ebf6320..b0fe8a14e6cd594852eb5f41d51fd648094e302d 100644 (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')];