]> git.mxchange.org Git - friendica.git/blobdiff - mod/friendica.php
Added /tos module
[friendica.git] / mod / friendica.php
index 14363ea4dd033623e6b0dced8bf72140ebd4c12e..43e518359842dee094aad794fc567d2a87954bdc 100644 (file)
@@ -116,6 +116,11 @@ function friendica_content(App $a)
        } else {
                $o .= '<p>' . L10n::t('No installed addons/apps') . '</p>' . PHP_EOL;
        }
+       
+       if (Config::get('system', 'tosdisplay'))
+       {
+               $o .= '<p>'.L10n::t('Read about the <a href="%1$s/tos">Terms of Service</a> of this node.', System::baseurl()).'</p>';
+       }
 
        $blocklist = Config::get('system', 'blocklist');
        if (count($blocklist)) {