From f761ea5fc91175716e0141c54e8fcfcbf719e62c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 18 Apr 2016 10:56:51 +0200 Subject: fix rpost bbcode buttons and autocomplete --- mod/rpost.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mod') 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); -- cgit v1.2.3 From a49fa5f87c0c46a7023113b454fb59a001839fd8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 18 Apr 2016 16:45:34 +0200 Subject: bring back bbcode buttons for mod/editpost --- mod/editpost.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') 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( -- cgit v1.2.3