mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
More capitalised lang strings, fixed some unset or incorrect variables
git-svn-id: file:///svn/phpbb/trunk@3469 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -485,8 +485,10 @@ class user extends session
|
||||
|
||||
if (empty($imgs[$img]) || $no_cache)
|
||||
{
|
||||
$alt = (!empty($this->lang[$alt])) ? $this->lang[$alt] : '';
|
||||
|
||||
$width = ($width) ? 'width="' . $width . '" ' : '';
|
||||
$imgs[$img] = '<img src=' . str_replace('{LANG}', $this->img_lang, $this->theme[$img]) . '" ' . $width . 'alt="' . $this->lang[$alt] . '" title="' . $this->lang[$alt] . '" />';
|
||||
$imgs[$img] = '<img src=' . str_replace('{LANG}', $this->img_lang, $this->theme[$img]) . '" ' . $width . 'alt="' . $alt . '" title="' . $alt . '" />';
|
||||
}
|
||||
return $imgs[$img];
|
||||
}
|
||||
|
Reference in New Issue
Block a user