aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-04 08:58:19 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-04 08:58:19 +0100
commit657ec75c3da0deef3f388ffd016c9fbabb1d049c (patch)
tree9ac0a996ae0a00bbf545bbed880967338a80edb1 /include
parenta79b268438b242eac02d75130d03fde88d6949cd (diff)
parent91e3c5c34e93004b9641d906c9f512b42f9c4a7a (diff)
downloadvolse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.tar.gz
volse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.tar.bz2
volse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include')
-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'];