aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);