diff options
author | friendica <info@friendica.com> | 2013-10-27 20:01:28 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-10-27 20:01:28 -0700 |
commit | 9b7994a9b785bac7ae8314ae398352d336b26aef (patch) | |
tree | 8934df6302de0effe1be6d1513dde5ba872a6038 /mod/editpost.php | |
parent | c9f51d78605250582002627cf43fc38a4fb03d13 (diff) | |
download | volse-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 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index 8d510ce05..161e8f301 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -1,4 +1,4 @@ -<?php +<?php /** @file */ require_once('acl_selectors.php'); require_once('include/crypto.php'); @@ -36,6 +36,8 @@ function editpost_content(&$a) { if(feature_enabled(local_user(),'richtext')) $plaintext = false; + $channel = $a->get_channel(); + $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( '$title' => t('Edit post') )); @@ -46,7 +48,7 @@ function editpost_content(&$a) { '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'), '$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'), '$geotag' => $geotag, - '$nickname' => $a->user['nickname'] + '$nickname' => $channel['channel_address'] )); |