1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Latest coding changes

This commit is contained in:
mcfly
2008-12-04 21:36:09 +00:00
parent 62368a9551
commit b3ca240eab
10 changed files with 443 additions and 374 deletions

View File

@@ -60,7 +60,7 @@ SC_END
SC_BEGIN ANON_IP
global $postInfo;
$e107 = e107::getInstance();
if(ADMIN || MODERATOR)
if($postInfo['post_user_anon'] && (ADMIN || MODERATOR))
{
return $e107->ipDecode($postInfo['post_ip']);
}
@@ -84,7 +84,7 @@ if($postInfo['user_name'])
}
else
{
return '<b>'.$e107->tp->toHTML($postInfo['post_anon_name']).'</b>';
return '<b>'.$e107->tp->toHTML($postInfo['post_user_anon']).'</b>';
}
SC_END