]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Move HTML part of oid to template + replace outside the tpl
[friendica.git] / mod / notes.php
index 5d70ba5cd2a4d3c5657b2712a83dbefcf8857f6d..62796ed13f8fc0dc7757895aaa114b9cfc41dd07 100644 (file)
@@ -66,10 +66,6 @@ function notes_content(&$a,$update = false) {
 
        $o .= status_editor($a,$x,$a->contact['id']);
 
-               $o .= '<div id="live-notes"></div>' . "\r\n";
-               $o .= "<script> var profile_uid = " . local_user() 
-                       . "; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
-
        }
 
        // Construct permissions
@@ -133,7 +129,7 @@ function notes_content(&$a,$update = false) {
                if(count($r)) {
                        $items = conv_sort($r,"`commented`");
 
-                       $o .= conversation($a,$items,'notes',$update, false, true);
+                       $o .= conversation($a,$items,'notes',$update);
                }
        }