diff options
author | Friendika <info@friendika.com> | 2011-07-20 03:54:10 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-07-20 03:54:10 -0700 |
commit | 40092c83a5568a9896c05f7ccdd8da4649f5271a (patch) | |
tree | 4a3750df636bf641fd0de2f92287c305b2ae151d /mod | |
parent | b27d68633be6219c3f65d830178e3dc96c1c91e9 (diff) | |
parent | 19c93adf846647a61e407e8172ea7153cb7f2c41 (diff) | |
download | volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.tar.gz volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.tar.bz2 volse-hubzilla-40092c83a5568a9896c05f7ccdd8da4649f5271a.zip |
Merge pull request #142 from fabrixxm/newacl
More on ACL and editor
Diffstat (limited to 'mod')
-rw-r--r-- | mod/editpost.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index cd0bbf223..c396ee44b 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -80,7 +80,9 @@ function editpost_content(&$a) { call_hooks('jot_tool', $jotplugins); call_hooks('jot_networks', $jotnets); - $tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins)); + + //$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins)); + $o .= replace_macros($tpl,array( '$return_path' => $_SESSION['return_url'], @@ -110,10 +112,10 @@ function editpost_content(&$a) { '$lockstate' => $lockstate, '$acl' => '', // populate_acl((($group) ? $group_acl : $a->user), $celeb), '$bang' => (($group) ? '!' : ''), - '$profile_uid' => $_SESSION['uid'] + '$profile_uid' => $_SESSION['uid'], + '$jotplugins' => $jotplugins, )); - return $o; } |