]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
don't add notification details on new posts
[friendica.git] / mod / network.php
index 000c9e2fed5b16f97b0e8e655805b7f707a281b6..cf4c994f0dd0a5324282ef1470730aaef98ada1a 100644 (file)
@@ -98,7 +98,7 @@ function network_content(&$a, $update = 0) {
                        }
                }
 
-               $o .= '<script> $(document).ready(function() { $(\'#nav-network-link\').addClass(\'nav-selected\'); });</script>';
+               nav_set_selected('network');
 
                $_SESSION['return_url'] = $a->cmd;
 
@@ -126,7 +126,7 @@ function network_content(&$a, $update = 0) {
                        $o .= '<div id="live-network"></div>' . "\r\n";
                        $o .= "<script> var profile_uid = " . $_SESSION['uid'] 
                                . "; var netargs = '" . substr($a->cmd,8)
-                               . '?f=';
+                               . '?f='
                                . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '')
                                . ((x($_GET,'search')) ? '&search=' . $_GET['search'] : '') 
                                . ((x($_GET,'star')) ? '&star=' . $_GET['star'] : '') 
@@ -297,9 +297,8 @@ function network_content(&$a, $update = 0) {
        $o .= conversation($a,$r,$mode,$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>';
+               $o .= cc_license();
        }
 
        return $o;