diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-09 12:16:42 +0200 |
commit | e2b4d33627d5f4cf5f68eb087059d86c78eec41e (patch) | |
tree | 328313432c53b1a6c146595b91f4883ef5c33131 /mod/editblock.php | |
parent | 7690dca67b6574cd5b6ffcc59b1c8c6b2df5d54e (diff) | |
download | volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.gz volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.tar.bz2 volse-hubzilla-e2b4d33627d5f4cf5f68eb087059d86c78eec41e.zip |
some work on comanche autocomplete
Diffstat (limited to 'mod/editblock.php')
-rw-r--r-- | mod/editblock.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/editblock.php b/mod/editblock.php index 35922e483..214c495dd 100644 --- a/mod/editblock.php +++ b/mod/editblock.php @@ -115,7 +115,8 @@ function editblock_content(&$a) { '$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'), '$geotag' => '', '$nickname' => $channel['channel_address'], - '$confirmdelete' => t('Delete block?') + '$confirmdelete' => t('Delete block?'), + '$bbco_autocomplete'=> (($mimetype == 'text/bbcode') ? 'bbcode' : 'comanche-block') )); $tpl = get_markup_template("jot.tpl"); @@ -174,6 +175,7 @@ function editblock_content(&$a) { '$defexpire' => '', '$feature_expire' => false, '$expires' => t('Set expiration date'), + '$bbcode' => (($mimetype == 'text/bbcode') ? true : false) )); $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( |