]> git.mxchange.org Git - friendica.git/blobdiff - mod/network.php
roll version - now in alpha 2.1
[friendica.git] / mod / network.php
index f9badda78bada413e513d88920515e1bba751c77..50d7134c174b0a507241f6ad4c30b952a4aa7b23 100644 (file)
@@ -79,6 +79,9 @@ function network_content(&$a, $update = 0) {
 
                $celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
 
+    $jotplugins = "";
+    call_hooks('jot_tool', $jotplugins);
+
                $o .= replace_macros($tpl,array(
                        '$return_path' => $a->cmd,
                        '$baseurl' => $a->get_baseurl(),
@@ -87,7 +90,8 @@ function network_content(&$a, $update = 0) {
                        '$lockstate' => $lockstate,
                        '$acl' => populate_acl((($group) ? $group_acl : $a->user), $celeb),
                        '$bang' => (($group) ? '!' : ''),
-                       '$profile_uid' => $_SESSION['uid']
+                       '$profile_uid' => $_SESSION['uid'],
+                       '$jotplugins' => $jotplugins
                ));
 
 
@@ -240,7 +244,7 @@ function network_content(&$a, $update = 0) {
                                        '$lock' => $lock,
                                        '$thumb' => $profile_avatar,
                                        '$title' => $item['title'],
-                                       '$body' => bbcode($item['body']),
+                                       '$body' => smilies(bbcode($item['body'])),
                                        '$ago' => relative_date($item['created']),
                                        '$location' => $location,
                                        '$indent' => '',