]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
allow users to set categories on their posts
[friendica.git] / mod / editpost.php
index 2ddba36aad11e98fe7e75744993f7f04ecc488f9..4c00201ca89fcf804f108d19b4a871d7876a4eb7 100755 (executable)
@@ -115,6 +115,8 @@ function editpost_content(&$a) {
                '$jotnets' => $jotnets,
                '$title' => $itm[0]['title'],
                '$placeholdertitle' => t('Set title'),
+                '$category' => file_tag_file_to_list($itm[0]['file'], 'category'),
+                '$placeholdercategory' => 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),