with one switch, a system administrator can now disable the category support
(no searching for categories, no getting communities by category, no category display on community profile, no changing a community's category)
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
//
|
||||
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
// Copyright (C) 2001-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
//
|
||||
// Contributor(s):
|
||||
|
||||
@@ -52,6 +52,8 @@ if ("GET"==rinput.verb)
|
||||
dlg.setValue("conf_mbrs",props.conferenceMembersPerPage);
|
||||
if (props.displayPostPictures)
|
||||
dlg.setValue("pic_in_post",1);
|
||||
if (props.disableCategories)
|
||||
dlg.setValue("no_cats",1);
|
||||
|
||||
rc = dlg;
|
||||
|
||||
@@ -100,6 +102,7 @@ if (op=="update")
|
||||
props.oldPostsAtTop = dlg.getValue("old_posts").intValue();
|
||||
props.conferenceMembersPerPage = dlg.getValue("conf_mbrs").intValue();
|
||||
props.displayPostPictures = dlg.getValue("pic_in_post").booleanValue();
|
||||
props.disableCategories = dlg.getValue("no_cats").booleanValue();
|
||||
adm.properties = props;
|
||||
|
||||
// done - bounce back to the menu
|
||||
|
||||
Reference in New Issue
Block a user