X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Feditpost.php;h=0cf6d0d4cf7320f7b1812036f99de0d4d8740879;hb=ab1edca0be8f60d86db4e4342e8bed3eae7f734e;hp=0319f200b3f9168628189f726e07fb5f39c41ef7;hpb=1cf3e778e83dafb3a5800540702ac6b7b8648989;p=friendica.git diff --git a/mod/editpost.php b/mod/editpost.php index 0319f200b3..0cf6d0d4cf 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -66,8 +66,6 @@ function editpost_content(&$a) { else $lockstate = 'unlock'; - $celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false); - $jotplugins = ''; $jotnets = ''; @@ -95,15 +93,14 @@ function editpost_content(&$a) { $jotnets .= '
' . t("Post to Email") . '
'; }*/ - + 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'], @@ -141,7 +138,7 @@ function editpost_content(&$a) { '$placeholdercategory' => (feature_enabled(local_user(),'categories') ? t('Categories (comma-separated list)') : ''), '$emtitle' => t('Example: bob@example.com, mary@example.com'), '$lockstate' => $lockstate, - '$acl' => '', // populate_acl((($group) ? $group_acl : $a->user), $celeb), + '$acl' => '', // populate_acl((($group) ? $group_acl : $a->user)), '$bang' => (($group) ? '!' : ''), '$profile_uid' => $_SESSION['uid'], '$preview' => t('Preview'),