From: rabuzarus <> Date: Thu, 25 Jun 2015 20:57:26 +0000 (+0200) Subject: make notes work X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=37501a883e7d8e9c5971f8873fe739683d8abbeb;p=friendica.git make notes work --- diff --git a/include/acl_selectors.php b/include/acl_selectors.php index b892c2d122..88f11b2b00 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -374,7 +374,7 @@ function populate_acl($user = null,$celeb = false,$show_jotnets = false) { '$aclModalTitle' => t('Permissions'), '$aclModalDismiss' => t('Close'), '$features' => array( - "aclautomention"=>(feature_enabled($user['uid'],"aclautomention")?"true":"false") + "aclautomention"=>(feature_enabled($user['uid'],"aclautomention")?"true":"false") ), )); diff --git a/include/conversation.php b/include/conversation.php index a6ea4da810..f6da55c4f1 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1124,6 +1124,7 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) { '$profile_uid' => $x['profile_uid'], '$preview' => ((feature_enabled($x['profile_uid'],'preview')) ? t('Preview') : ''), '$jotplugins' => $jotplugins, + '$notes_cid' => $notes_cid, '$sourceapp' => t($a->sourcename), '$cancel' => t('Cancel'), '$rand_num' => random_digits(12), diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index 8fb9328632..dfc6b27104 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -16,6 +16,9 @@ + {{if $notes_cid}} + + {{/if}}
{{if $placeholdercategory}}