]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
saved searches on search page, templates: Invalid argument supplied for foreach(...
[friendica.git] / mod / editpost.php
index d211074c92caf5519b99d92b0bdb99b3309e1d12..c396ee44b04e13d39117b2e1a74abb201391f55b 100644 (file)
@@ -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;
 
 }