From: friendica Date: Mon, 24 Sep 2012 00:16:37 +0000 (-0700) Subject: support for bringing back cats/folders X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c3b4f9f0d308a1642a9986e73f04f36bb7e2fb62;p=friendica.git support for bringing back cats/folders --- diff --git a/include/conversation.php b/include/conversation.php index fc4b85e794..b8546ce014 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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)),