aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-19 10:11:24 +0000
committerMario <mario@mariovavti.com>2021-02-19 10:11:24 +0000
commita2d170385b3c02ad284535ec337acda237e2e353 (patch)
treebf8e8ccd91811541c9b49250cf6352b4836d8f7a /include/conversation.php
parenta27572698888649f662e7465ad338cf9b6e9fcc2 (diff)
downloadvolse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.tar.gz
volse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.tar.bz2
volse-hubzilla-a2d170385b3c02ad284535ec337acda237e2e353.zip
deprecate summary tag in favour of a separate input field
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index b22093951..ae69b7a01 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1474,7 +1474,9 @@ function hz_status_editor($a, $x, $popup = false) {
'$nocomment' => ((array_key_exists('item',$x)) ? $x['item']['item_nocomment'] : 0),
'$clearloc' => $clearloc,
'$title' => ((x($x, 'title')) ? htmlspecialchars($x['title'], ENT_COMPAT,'UTF-8') : ''),
+ '$summary' => ((x($x, 'summary')) ? htmlspecialchars($x['summary'], ENT_COMPAT,'UTF-8') : ''),
'$placeholdertitle' => ((x($x, 'placeholdertitle')) ? $x['placeholdertitle'] : t('Title (optional)')),
+ '$placeholdersummary' => ((x($x, 'placeholdersummary')) ? $x['placeholdersummary'] : t('Summary (optional)')),
'$catsenabled' => $catsenabled,
'$category' => ((x($x, 'category')) ? $x['category'] : ''),
'$placeholdercategory' => t('Categories (optional, comma-separated list)'),