aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-20 03:54:10 -0700
committerFriendika <info@friendika.com>2011-07-20 03:54:10 -0700
commit40092c83a5568a9896c05f7ccdd8da4649f5271a (patch)
tree4a3750df636bf641fd0de2f92287c305b2ae151d /mod
parentb27d68633be6219c3f65d830178e3dc96c1c91e9 (diff)
parent19c93adf846647a61e407e8172ea7153cb7f2c41 (diff)
downloadvolse-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.php8
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;
}