diff options
| author | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-12 20:27:58 +0000 |
|---|---|---|
| committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-06-12 20:27:58 +0000 |
| commit | fdaba4d67ef75bb06629d854a58b0529b85e2882 (patch) | |
| tree | d006f5ecd5a7481a3ed46f4d72d3acdf39d0bbe0 /phpBB/includes/mcp/mcp_warn.php | |
| parent | 6da13549760e1ab5aac0369e1e92696e7908dfc8 (diff) | |
| download | forums-fdaba4d67ef75bb06629d854a58b0529b85e2882.tar forums-fdaba4d67ef75bb06629d854a58b0529b85e2882.tar.gz forums-fdaba4d67ef75bb06629d854a58b0529b85e2882.tar.bz2 forums-fdaba4d67ef75bb06629d854a58b0529b85e2882.tar.xz forums-fdaba4d67ef75bb06629d854a58b0529b85e2882.zip | |
Fix no avatar image - it shouldn't be set in the code but via the template
git-svn-id: file:///svn/phpbb/trunk@6052 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/mcp/mcp_warn.php')
| -rwxr-xr-x | phpBB/includes/mcp/mcp_warn.php | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/phpBB/includes/mcp/mcp_warn.php b/phpBB/includes/mcp/mcp_warn.php index e22739dd99..cb33bb6534 100755 --- a/phpBB/includes/mcp/mcp_warn.php +++ b/phpBB/includes/mcp/mcp_warn.php @@ -268,10 +268,6 @@ function mcp_warn_post_view($id, $mode, $action) $avatar_img = '<img src="' . $avatar_img . '" width="' . $userrow['user_avatar_width'] . '" height="' . $userrow['user_avatar_height'] . '" border="0" alt="" />'; } - else - { - $avatar_img = '<img src="' . $phpbb_root_path . 'images/no_avatar.gif" alt="" />'; - } $template->assign_vars(array( 'U_POST_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=$id&mode=$mode&p=$post_id"), @@ -342,10 +338,6 @@ function mcp_warn_user_view($id, $mode, $action) $avatar_img = '<img src="' . $avatar_img . '" width="' . $userrow['user_avatar_width'] . '" height="' . $userrow['user_avatar_height'] . '" border="0" alt="" />'; } - else - { - $avatar_img = '<img src="adm/images/no_avatar.gif" alt="" />'; - } // OK, they didn't submit a warning so lets build the page for them to do so $template->assign_vars(array( |
