mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
hmm, wasn't aware of changed something here. strange.
git-svn-id: file:///svn/phpbb/trunk@3544 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
d95588823a
commit
8b9ea6feb4
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ class parse_message
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
$match[] = "#(?<=.\W|\W.|^\W)" . preg_quote($row['code'], '#') . "(?=.\W|\W.|\W$)#";
|
$match[] = "#(?<=.\W|\W.|^\W)" . preg_quote($row['code'], '#') . "(?=.\W|\W.|\W$)#";
|
||||||
$replace[] = '<!-- s' . $row['code'] . ' --><img src="{SMILE_PATH}/' . $row['smile_url'] . '" alt="' . $row['smile_url'] . '" border="0" alt="' . $row['emoticon'] . '" title="' . $row['emoticon'] . '" /><!-- s' . $row['code'] . ' -->';
|
$replace[] = '<!-- s' . $row['code'] . ' --><img src="{SMILE_PATH}/' . $row['smile_url'] . '" border="0" alt="' . $row['emoticon'] . '" title="' . $row['emoticon'] . '" /><!-- s' . $row['code'] . ' -->';
|
||||||
}
|
}
|
||||||
while ($row = $db->sql_fetchrow($result));
|
while ($row = $db->sql_fetchrow($result));
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,7 @@ class Template {
|
||||||
{
|
{
|
||||||
if (empty($filename))
|
if (empty($filename))
|
||||||
{
|
{
|
||||||
message_die(ERROR, "Template error - Empty filename specified for $handle");
|
trigger_error("Template error - Empty filename specified for $handle", E_USER_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->filename[$handle] = $filename;
|
$this->filename[$handle] = $filename;
|
||||||
|
|
Loading…
Add table
Reference in a new issue