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:
Meik Sievertsen 2003-02-26 13:24:41 +00:00
parent d95588823a
commit 8b9ea6feb4
2 changed files with 2 additions and 2 deletions

View file

@ -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));

View file

@ -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;