aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-06-01 17:11:16 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-06-01 17:11:16 +0000
commit06070994683d6ace12f1bed6554a80d243696c06 (patch)
tree9a9edebfb93337f635b58a97cd6a2ba51651aadc /phpBB/viewtopic.php
parentb5e73bc550f9ec74e158d43a0580e1c129a73a09 (diff)
downloadforums-06070994683d6ace12f1bed6554a80d243696c06.tar
forums-06070994683d6ace12f1bed6554a80d243696c06.tar.gz
forums-06070994683d6ace12f1bed6554a80d243696c06.tar.bz2
forums-06070994683d6ace12f1bed6554a80d243696c06.tar.xz
forums-06070994683d6ace12f1bed6554a80d243696c06.zip
IP and Delete post icons only show to moderators
git-svn-id: file:///svn/phpbb/trunk@406 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index a12f94d0d8..7c82e38a95 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -430,7 +430,7 @@ for($x = 0; $x < $total_posts; $x++)
$quote_img = "<a href=\"".append_sid("posting.$phpEx?mode=reply&quote=true&post_id=".$postrow[$x]['post_id']."&topic_id=$topic_id&forum_id=$forum_id")."\"><img src=\"".$images['quote']."\" alt=\"$l_replyquote\" border=\"0\"></a>";
$pmsg_img = "<a href=\"".append_sid("priv_msgs.$phpEx?mode=send")."\"><img src=\"".$images['pmsg']."\" alt=\"$l_sendpmsg\" border=\"0\"></a>";
- if($is_moderator)
+ if($is_auth['auth_mod'])
{
$ip_img = "<a href=\"".append_sid("topicadmin.$phpEx?mode=viewip&user_id=".$poster_id)."\"><img src=\"".$images['ip']."\" alt=\"$l_viewip\" border=\"0\"></a>";
$delpost_img = "<a href=\"".append_sid("topicadmin.$phpEx?mode=delpost&".POST_POST_URL."=".$postrow[$x]['post_id'])."\"><img src=\"".$images['delpost']."\" alt=\"$l_delete\" border=\"0\"></a>";