aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-27 20:01:28 -0700
committerfriendica <info@friendica.com>2013-10-27 20:01:28 -0700
commit9b7994a9b785bac7ae8314ae398352d336b26aef (patch)
tree8934df6302de0effe1be6d1513dde5ba872a6038 /include
parentc9f51d78605250582002627cf43fc38a4fb03d13 (diff)
downloadvolse-hubzilla-9b7994a9b785bac7ae8314ae398352d336b26aef.tar.gz
volse-hubzilla-9b7994a9b785bac7ae8314ae398352d336b26aef.tar.bz2
volse-hubzilla-9b7994a9b785bac7ae8314ae398352d336b26aef.zip
remote post module so that from anywhere on the web or at least within the matrix you'll be able to share content or we can have apps on other sites that post status updates on your wall. All with your permission of course as you'll have to click "share" to actually post it.
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index a8b3150b4..497c2fda7 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1096,7 +1096,7 @@ function status_editor($a,$x,$popup=false) {
'$shortsetloc' => t('set location'),
'$noloc' => t('Clear browser location'),
'$shortnoloc' => t('clear location'),
- '$title' => "",
+ '$title' => ((x($x,'title')) ? htmlspecialchars($x['title']) : ''),
'$placeholdertitle' => t('Set title'),
'$catsenabled' => ((feature_enabled($x['profile_uid'],'categories') && (! $webpage)) ? 'categories' : ''),
'$category' => "",
@@ -1105,7 +1105,7 @@ function status_editor($a,$x,$popup=false) {
'$permset' => t('Permission settings'),
'$shortpermset' => t('permissions'),
'$ptyp' => (($notes_cid) ? 'note' : 'wall'),
- '$content' => '',
+ '$content' => ((x($x,'body')) ? htmlspecialchars($x['body']) : ''),
'$post_id' => '',
'$baseurl' => $a->get_baseurl(true),
'$defloc' => $x['default_location'],