X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=bceb9250a2d44f83abe547db4f4294ed6656860e;hb=a1a07e7287e9e764912bbd08383cf43503deb9e8;hp=cd0bbf2239175a608b4e60bdc0b221b6c1695b6a;hpb=c0f529cf38af78b513f93e8e58d298bb21bcc8ef;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index cd0bbf2239..bceb9250a2 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -71,7 +71,7 @@ function editpost_content(&$a) { if($mail_enabled) { $selected = (($pubmail_enabled) ? ' checked="checked" ' : ''); - $jotnets .= '
' + $jotnets .= '
' . t("Post to Email") . '
'; } @@ -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; }