aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-08-07 00:03:14 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-08-07 00:03:14 +0000
commitbab1021f8c8661e71b9ea2f9323c1d0488a77f98 (patch)
treedf267a4e3c787f8fe13e4ac9a00385686220ab1d /phpBB
parent3a662e24f4311a2b0518264f85c1479545c93d2c (diff)
downloadforums-bab1021f8c8661e71b9ea2f9323c1d0488a77f98.tar
forums-bab1021f8c8661e71b9ea2f9323c1d0488a77f98.tar.gz
forums-bab1021f8c8661e71b9ea2f9323c1d0488a77f98.tar.bz2
forums-bab1021f8c8661e71b9ea2f9323c1d0488a77f98.tar.xz
forums-bab1021f8c8661e71b9ea2f9323c1d0488a77f98.zip
Rule output changes ... no point in limiting delete/attach just to viewtopic ...
git-svn-id: file:///svn/phpbb/trunk@2834 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index ff0bfd0dcd..ce55a63155 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -133,14 +133,9 @@ function get_forum_rules($mode, &$rules, &$forum_id)
$rules .= ( ( $acl->get_acl($forum_id, 'forum', 'post') ) ? $lang['Rules_post_can'] : $lang['Rules_post_cannot'] ) . '<br />';
$rules .= ( ( $acl->get_acl($forum_id, 'forum', 'reply') ) ? $lang['Rules_reply_can'] : $lang['Rules_reply_cannot'] ) . '<br />';
-
- if ( $mode == 'topic' )
- {
- $rules .= ( ( $acl->get_acl($forum_id, 'forum', 'edit') ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . '<br />';
- $rules .= ( ( $acl->get_acl($forum_id, 'forum', 'attach') ) ? $lang['Rules_attach_can'] : $lang['Rules_attach_cannot'] ) . '<br />';
- }
-
+ $rules .= ( ( $acl->get_acl($forum_id, 'forum', 'edit') ) ? $lang['Rules_edit_can'] : $lang['Rules_edit_cannot'] ) . '<br />';
$rules .= ( ( $acl->get_acl($forum_id, 'forum', 'delete') || $acl->get_acl($forum_id, 'mod', 'delete') ) ? $lang['Rules_delete_can'] : $lang['Rules_delete_cannot'] ) . '<br />';
+ $rules .= ( ( $acl->get_acl($forum_id, 'forum', 'attach') ) ? $lang['Rules_attach_can'] : $lang['Rules_attach_cannot'] ) . '<br />';
if ( $acl->get_acl($forum_id, 'mod') )
{