]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
linkify - need at least one character after ://
[friendica.git] / mod / network.php
index aa42e2f529b97aee64d02eeb0525b2d27ae940c8..f9badda78bada413e513d88920515e1bba751c77 100644 (file)
@@ -2,6 +2,12 @@
 
 
 function network_init(&$a) {
+       if(! local_user()) {
+               notice( t('Permission denied.') . EOL);
+               return;
+       }
+  
+  
        require_once('include/group.php');
        if(! x($a->page,'aside'))
                $a->page['aside'] = '';
@@ -22,7 +28,7 @@ function network_init(&$a) {
 function network_content(&$a, $update = 0) {
 
        if(! local_user())
-               return '';
+       return login(false);
 
        $o = '';
 
@@ -424,8 +430,10 @@ function network_content(&$a, $update = 0) {
                }
        }
 
-       if(! $update)
+       if(! $update) {
                $o .= paginate($a);
+               $o .= '<div class="cc-license">' . t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.') . '</div>';
+       }
 
        return $o;
 }
\ No newline at end of file