diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-05-19 21:07:43 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-05-19 21:07:43 +0200 |
commit | 5641d81f03a1d475e0aef0385a9ad856b7a83b74 (patch) | |
tree | 8979de4fe4060df579d29f51acef13364a0a518c /include/bbcode.php | |
parent | 5e87bd88432dfe3564b2de20c4d075ee45ed4275 (diff) | |
download | volse-hubzilla-5641d81f03a1d475e0aef0385a9ad856b7a83b74.tar.gz volse-hubzilla-5641d81f03a1d475e0aef0385a9ad856b7a83b74.tar.bz2 volse-hubzilla-5641d81f03a1d475e0aef0385a9ad856b7a83b74.zip |
be verbose about what type of element (block, layout, webpage) is beeing installed
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 4ff6f842e..9bb6cf047 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -173,8 +173,9 @@ function bb_parse_app($match) { function bb_parse_element($match) { $j = json_decode(base64url_decode($match[1]),true); + print_r($j); if ($j) { - $o = EOL . '<a href="#" onclick="importElement(\'' . $match[1] . '\'); return false;" >' . t('Install design element: ') . $j['pagetitle'] . '</a>' . EOL; + $o = EOL . '<a href="#" onclick="importElement(\'' . $match[1] . '\'); return false;" >' . t('Install ' . $j['type'] . ' element: ') . $j['pagetitle'] . '</a>' . EOL; } return $o; |