From 107f80892a19f0ccd0cd30a0e3fc5ce3a41829b7 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Thu, 10 Mar 2016 19:39:38 +0100 Subject: UNO: Hide bookmark tools in items (#^ and in menu) --- include/bbcode.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/bbcode.php') diff --git a/include/bbcode.php b/include/bbcode.php index 477436475..eefe7fe98 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -593,6 +593,11 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false) $Text = preg_replace("/\[zrl\]([$URLSearchString]*)\[\/zrl\]/ism", '$1', $Text); $Text = preg_replace("/\[zrl\=([$URLSearchString]*)\](.*?)\[\/zrl\]/ism", '$2', $Text); } + + // Remove bookmarks from UNO + if (UNO) + $Text = str_replace('#^', '', $Text); + // Perform MAIL Search if (strpos($Text,'[/mail]') !== false) { $Text = preg_replace("/\[mail\]([$MAILSearchString]*)\[\/mail\]/", '$1', $Text); -- cgit v1.2.3