support for bringing back cats/folders
This commit is contained in:
parent
fbd120f1ce
commit
c3b4f9f0d3
|
@ -645,6 +645,10 @@ function prepare_threads_body($a, $items, $cmnt_tpl, $page_writeable, $mode, $pr
|
||||||
'tags' => template_escape($tags),
|
'tags' => template_escape($tags),
|
||||||
'hashtags' => template_escape($hashtags),
|
'hashtags' => template_escape($hashtags),
|
||||||
'mentions' => template_escape($mentions),
|
'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,
|
'categories' => $categories,
|
||||||
'folders' => $folders,
|
'folders' => $folders,
|
||||||
'body' => template_escape($body),
|
'body' => template_escape($body),
|
||||||
|
@ -916,6 +920,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
||||||
'tags' => template_escape($tags),
|
'tags' => template_escape($tags),
|
||||||
'hashtags' => template_escape($hashtags),
|
'hashtags' => template_escape($hashtags),
|
||||||
'mentions' => template_escape($mentions),
|
'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,
|
'categories' => $categories,
|
||||||
'folders' => $folders,
|
'folders' => $folders,
|
||||||
'text' => strip_tags(template_escape($body)),
|
'text' => strip_tags(template_escape($body)),
|
||||||
|
|
Loading…
Reference in a new issue