diff options
author | redmatrix <mike@macgirvin.com> | 2016-08-31 17:49:22 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-08-31 17:49:22 -0700 |
commit | ea0be8ea1a22abfdedae0d0c47677a9de44e08c0 (patch) | |
tree | 277e9a08e4958fef0801aeb83f73d2fb3cbee952 /include/bbcode.php | |
parent | e9462ba14529b7172ba5a21e7985d24de91faa37 (diff) | |
download | volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.gz volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.tar.bz2 volse-hubzilla-ea0be8ea1a22abfdedae0d0c47677a9de44e08c0.zip |
provide techlevels in the pro server role. Should have no visible effect on other roles.
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 2d86bd263..9c65afc59 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -666,8 +666,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false) $Text = preg_replace("/\[zrl\=([$URLSearchString]*)\](.*?)\[\/zrl\]/ism", '<a class="zrl" href="$1" target="_blank" >$2</a>', $Text); } - // Remove bookmarks from UNO - if (get_config('system','server_role') === 'basic') + if (get_account_techlevel() > 2) $Text = str_replace('<span class="bookmark-identifier">#^</span>', '', $Text); // Perform MAIL Search |