aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-04-18 18:07:20 +0200
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-04-18 18:07:20 +0200
commite47a473e2c018a28f4d000623ae5a5c3ed0a80c9 (patch)
treeffe6721558a1cf1ffa61ffcc58cc2f0630dda2c3 /mod
parentfddacf0a5aff5146db292f9c90ee5d4d33b06cfe (diff)
parenta49fa5f87c0c46a7023113b454fb59a001839fd8 (diff)
downloadvolse-hubzilla-e47a473e2c018a28f4d000623ae5a5c3ed0a80c9.tar.gz
volse-hubzilla-e47a473e2c018a28f4d000623ae5a5c3ed0a80c9.tar.bz2
volse-hubzilla-e47a473e2c018a28f4d000623ae5a5c3ed0a80c9.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mod')
-rw-r--r--mod/editpost.php1
-rw-r--r--mod/rpost.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index 397254a48..ae77e5973 100644
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -160,6 +160,7 @@ function editpost_content(&$a) {
'$cipher' => $cipher,
'$expiryModalOK' => t('OK'),
'$expiryModalCANCEL' => t('Cancel'),
+ '$bbcode' => true
));
$o .= replace_macros(get_markup_template('edpost_head.tpl'), array(
diff --git a/mod/rpost.php b/mod/rpost.php
index 69b8c7b7e..3e036cac6 100644
--- a/mod/rpost.php
+++ b/mod/rpost.php
@@ -119,7 +119,9 @@ function rpost_content(&$a) {
'body' => $_REQUEST['body'],
'attachment' => $_REQUEST['attachment'],
'source' => ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : ''),
- 'return_path' => 'rpost/return'
+ 'return_path' => 'rpost/return',
+ 'bbco_autocomplete' => 'bbcode',
+ 'bbcode' => true
);
$editor = status_editor($a,$x);