aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
authorMichael Johnston <michaelgeorgejohnston@gmail.com>2012-04-01 21:28:31 -0400
committerMichael Johnston <michaelgeorgejohnston@gmail.com>2012-04-01 21:28:31 -0400
commit581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5 (patch)
treec2a3f1e1d1aaf5e3e2f6d9b194e91d6b8b401cdd /mod/editpost.php
parent06e9a8b7a0d6b5be141563c77ae3a71e9998b81f (diff)
downloadvolse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.tar.gz
volse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.tar.bz2
volse-hubzilla-581b54c974a9b9a050a8a0b9a17a19bd41b1f2f5.zip
allow users to set categories on their posts
Diffstat (limited to 'mod/editpost.php')
-rwxr-xr-xmod/editpost.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 2ddba36aa..4c00201ca 100755
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -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),