X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=bceb9250a2d44f83abe547db4f4294ed6656860e;hb=b12e598dba54c81a8d91d7fbd5f68922099585e1;hp=d211074c92caf5519b99d92b0bdb99b3309e1d12;hpb=4cff911939b263993eb41682ca558c975e2db01f;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php old mode 100644 new mode 100755 index d211074c92..bceb9250a2 --- 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,13 +80,16 @@ 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'], '$action' => 'item', '$share' => t('Edit'), '$upload' => t('Upload photo'), + '$attach' => t('Attach file'), '$weblink' => t('Insert web link'), '$youtube' => t('Insert YouTube video'), '$video' => t('Insert Vorbis [.ogg] video'), @@ -109,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; }