From b0c3e3958220c04cbb4f25f0c24b53b65a34e360 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 16 Jun 2006 16:54:51 +0000 Subject: - removed db cache (might re-appear, but for now we do not see the need for it) - all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/bbcode.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/bbcode.php') diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index f39c004747..ea800e533b 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -375,14 +375,17 @@ class bbcode { if (empty($bbcode_hardtpl)) { - static $bbcode_hardtpl = array( + global $user; + static $bbcode_hardtpl = array(); + + $bbcode_hardtpl = array( 'b_open' => '', 'b_close' => '', 'i_open' => '', 'i_close' => '', 'u_open' => '', 'u_close' => '', - 'img' => '', + 'img' => '' . $user->lang['IMAGE'] . '', 'size' => '$2', 'color' => '$2', 'email' => '$2' -- cgit v1.2.1