aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-08-23 06:57:10 -0400
committerAndrew Manning <tamanning@zoho.com>2016-08-23 06:57:10 -0400
commit420aa4bc44a2fdf707b3964582258809f978ea2d (patch)
treec6def258a9311d513d6e1e89918c2ec0d17114f7 /include/conversation.php
parent305e0538d293ff4ad72f30b11998ae3b06efa4ea (diff)
parent1e6a491400eaa01aeb2991d4b38e0255499d8b67 (diff)
downloadvolse-hubzilla-420aa4bc44a2fdf707b3964582258809f978ea2d.tar.gz
volse-hubzilla-420aa4bc44a2fdf707b3964582258809f978ea2d.tar.bz2
volse-hubzilla-420aa4bc44a2fdf707b3964582258809f978ea2d.zip
Merge remote-tracking branch 'upstream/dev' into website-export
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 7d1473fe2..637234bff 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1200,8 +1200,6 @@ function status_editor($a, $x, $popup = false) {
$tpl = get_markup_template('jot.tpl');
- $jotplugins = '';
-
$preview = t('Preview');
if(x($x, 'hide_preview'))
$preview = '';
@@ -1218,8 +1216,14 @@ function status_editor($a, $x, $popup = false) {
if(! $cipher)
$cipher = 'aes256';
+ $jotplugins = '';
call_hooks('jot_tool', $jotplugins);
+ $jotnets = '';
+ if(x($x,'jotnets')) {
+ call_hooks('jot_networks', $jotnets);
+ }
+
$o .= replace_macros($tpl, array(
'$return_path' => ((x($x, 'return_path')) ? $x['return_path'] : App::$query_string),
'$action' => z_root() . '/item',
@@ -1276,6 +1280,8 @@ function status_editor($a, $x, $popup = false) {
'$preview' => $preview,
'$source' => ((x($x, 'source')) ? $x['source'] : ''),
'$jotplugins' => $jotplugins,
+ '$jotnets' => $jotnets,
+ '$jotnets_label' => t('Other networks and post services'),
'$defexpire' => $defexpire,
'$feature_expire' => $feature_expire,
'$expires' => t('Set expiration date'),