From 5641d81f03a1d475e0aef0385a9ad856b7a83b74 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 19 May 2015 21:07:43 +0200 Subject: be verbose about what type of element (block, layout, webpage) is beeing installed --- include/bbcode.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/bbcode.php') 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 . '' . t('Install design element: ') . $j['pagetitle'] . '' . EOL; + $o = EOL . '' . t('Install ' . $j['type'] . ' element: ') . $j['pagetitle'] . '' . EOL; } return $o; -- cgit v1.2.3