another loose global
git-svn-id: file:///home/shish/svn/shimmie2/trunk@995 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
09b2be6830
commit
8074be77a7
@ -15,7 +15,6 @@ class Emoticons extends Extension {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private function bbcode_to_html($text) {
|
private function bbcode_to_html($text) {
|
||||||
global $config;
|
|
||||||
$data_href = get_base_href();
|
$data_href = get_base_href();
|
||||||
$text = preg_replace("/:([a-z]*?):/s", "<img src='$data_href/ext/emoticons/default/\\1.gif'>", $text);
|
$text = preg_replace("/:([a-z]*?):/s", "<img src='$data_href/ext/emoticons/default/\\1.gif'>", $text);
|
||||||
return $text;
|
return $text;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user