From f34e8b22af1d3945fe3ce8300a9277916268187a Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Wed, 26 Oct 2011 14:03:01 +0000 Subject: [PATCH] Removed UI for public/private and moderation settings for forums (handled by RBAC) --- src/www/forum/admin/index.php | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/src/www/forum/admin/index.php b/src/www/forum/admin/index.php index 199882bff0..35cf5a6550 100644 --- a/src/www/forum/admin/index.php +++ b/src/www/forum/admin/index.php @@ -103,21 +103,7 @@ if (getStringFromRequest('add_forum')) { '._('Description').':

-

- '._('Is Public?').'
- '._('Yes').'
- '._('No').' -

-

- '._('Allow Anonymous Posts?').'
- '._('Yes').'
- '._('No').' -

-

'. - - html_build_select_box_from_assoc(array("0" => _('No Moderation') ,"1" => _('Moderated Level 1'),"2" => _('Moderated Level 2') ),"moderation_level",0) . ' -
' . _('Moderated Level 1') . ': ' . _('To moderate anonymous posts (if allowed in public forum) and posts from non-member users.') . '
' . _('Moderated Level 2') . ': ' . _('To moderate ALL posts.') . '

- +

'._('Email All Posts To:').'

@@ -147,21 +133,6 @@ if (getStringFromRequest('add_forum')) { - - '._('Allow Anonymous Posts?').'
- AllowAnonymous() == 1)?' checked="checked"':'').' /> '._('Yes').'
- AllowAnonymous() == 0)?' checked="checked"':'').'/> '._('No').' -

-

- '._('Is Public?').'
- isPublic() == 1)?' checked="checked"':'').' /> '._('Yes').'
- isPublic() == 0)?' checked="checked"':'').' /> '._('No').'
- isPublic() == 9)?' checked="checked"':'').' />'._('Suspended').'
-

' . - html_build_select_box_from_assoc(array("0" => _('No Moderation') ,"1" => _('Moderated Level 1'),"2" => _('Moderated Level 2') ),"moderation_level",$f->getModerationLevel()) . ' -
' . _('Moderated Level 1') . ': ' . _('To moderate anonymous posts (if allowed in public forum) and posts from non-member users.') . '
' . _('Moderated Level 2') . ': ' . _('To moderate ALL posts.') . '

- - '._('Forum Name').':

-- 2.30.2