Fix für Threads Panel
git-svn-id: https://svn.libreccm.org/ccm/trunk@1140 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
9a3985fa97
commit
2b2d99e414
|
|
@ -262,10 +262,14 @@ public class ForumUserCompactView extends ModalContainer implements Constants {
|
||||||
// currently thread panel is always shown. If read access should be
|
// currently thread panel is always shown. If read access should be
|
||||||
// bound to logged in users, additional logic is required here.
|
// bound to logged in users, additional logic is required here.
|
||||||
// jensp 2011-10-02: Additional logic added
|
// jensp 2011-10-02: Additional logic added
|
||||||
if (!forum.isPublic()
|
if (forum.isPublic()) {
|
||||||
&& PermissionService.checkPermission(readPermission)) {
|
|
||||||
generateModeXML(state, content, MODE_THREADS,
|
generateModeXML(state, content, MODE_THREADS,
|
||||||
Text.gz("forum.ui.modeThreads"));
|
Text.gz("forum.ui.modeThreads"));
|
||||||
|
} else {
|
||||||
|
if (PermissionService.checkPermission(readPermission)) {
|
||||||
|
generateModeXML(state, content, MODE_THREADS,
|
||||||
|
Text.gz("forum.ui.modeThreads"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// topics panel is always shoen as well if not restricted to admins.
|
// topics panel is always shoen as well if not restricted to admins.
|
||||||
if (!Forum.getConfig().topicCreationByAdminOnly()) {
|
if (!Forum.getConfig().topicCreationByAdminOnly()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue