aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-12-04 14:28:00 -0800
committerzotlabs <mike@macgirvin.com>2017-12-04 14:28:00 -0800
commit0a55d6d51143acbf1084104d1626c7a4b88e6c15 (patch)
treec2fc3c5a117f5256aac76dce94cf6dd202df2171 /include/bbcode.php
parent95311ad07e08c01ff8b9d865cbbc2a0b2bae5239 (diff)
parent0305983360568f991365cd815d081afedaa6d742 (diff)
downloadvolse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.tar.gz
volse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.tar.bz2
volse-hubzilla-0a55d6d51143acbf1084104d1626c7a4b88e6c15.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index fd476766e..e38473168 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -246,8 +246,8 @@ function bb_parse_element($match) {
$j = json_decode(base64url_decode($match[1]),true);
if ($j && local_channel()) {
- $text = sprintf( t('Install %s element: '), translate_design_element($j['type'])) . $j['pagetitle'];
- $o = EOL . '<a href="#" onclick="importElement(\'' . $match[1] . '\'); return false;" >' . $text . '</a>' . EOL;
+ $text = sprintf( t('Install %1$s element %2$s'), translate_design_element($j['type']), $j['pagetitle']);
+ $o = EOL . '<button class="btn btn-primary" onclick="importElement(\'' . $match[1] . '\'); return false;" >' . $text . '</button>' . EOL;
}
else {
$text = sprintf( t('This post contains an installable %s element, however you lack permissions to install it on this site.' ), translate_design_element($j['type'])) . $j['pagetitle'];