aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-04-05 02:32:07 -0700
committerfriendica <info@friendica.com>2014-04-05 02:32:07 -0700
commit4901ef8faf743fd7fef97fc75a1c727804bf3df5 (patch)
treeed0c0f6450b81e9f4bcb1c1f2d3727653e4310f5 /include/conversation.php
parent32e71cf06b7471923dec37b613da3a044f51f28d (diff)
downloadvolse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.tar.gz
volse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.tar.bz2
volse-hubzilla-4901ef8faf743fd7fef97fc75a1c727804bf3df5.zip
provide the ability for rpost to post as another of your channels. This does not yet work, so the functionality has not been enabled.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index af41e8fa7..880639bf4 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1052,6 +1052,13 @@ function status_editor($a,$x,$popup=false) {
}
+ if(array_key_exists('channel_select',$x) && $x['channel_select']) {
+ require_once('include/identity.php');
+ $id_select = identity_selector();
+ }
+ else
+ $id_select = '';
+
$webpage = ((x($x,'webpage')) ? $x['webpage'] : '');
@@ -1098,6 +1105,8 @@ function status_editor($a,$x,$popup=false) {
'$webpage' => $webpage,
'$placeholdpagetitle' => ((x($x,'ptlabel')) ? $x['ptlabel'] : t('Page link title')),
'$pagetitle' => (x($x,'pagetitle') ? $x['pagetitle'] : ''),
+ '$id_select' => $id_select,
+ '$id_seltext' => t('Post as'),
'$upload' => t('Upload photo'),
'$shortupload' => t('upload photo'),
'$attach' => t('Attach file'),