]> git.mxchange.org Git - friendica.git/commitdiff
support for bringing back cats/folders
authorfriendica <info@friendica.com>
Mon, 24 Sep 2012 00:16:37 +0000 (17:16 -0700)
committerfriendica <info@friendica.com>
Mon, 24 Sep 2012 00:16:37 +0000 (17:16 -0700)
include/conversation.php

index fc4b85e79439109974f2c051ac24b838b0554ead..b8546ce014c245d279d2e57ff7afdffe18ec4a15 100644 (file)
@@ -645,6 +645,10 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
                        'tags' => template_escape($tags),
                        'hashtags' => template_escape($hashtags),
                        'mentions' => template_escape($mentions),
+                       'txt_cats' => t('Categories:'),
+                       'txt_folders' => t('Filed under:'),
+                       'has_cats' => ((count($categories)) ? 'true' : ''),
+                       'has_folders' => ((count($folders)) ? 'true' : ''),
                        'categories' => $categories,
                        'folders' => $folders,
                        'body' => template_escape($body),
@@ -916,6 +920,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
                                        'tags' => template_escape($tags),
                                        'hashtags' => template_escape($hashtags),
                                        'mentions' => template_escape($mentions),
+                                       'txt_cats' => t('Categories:'),
+                                       'txt_folders' => t('Filed under:'),
+                                       'has_cats' => ((count($categories)) ? 'true' : ''),
+                                       'has_folders' => ((count($folders)) ? 'true' : ''),
                                        'categories' => $categories,
                                        'folders' => $folders,
                                        'text' => strip_tags(template_escape($body)),