minor change to community creation error message & to some documentation
This commit is contained in:
@@ -307,7 +307,13 @@ public class CommunityOperations extends VeniceServlet
|
||||
if (cmd.equals("C"))
|
||||
{ // "C" = Create New Community
|
||||
if (!(user.canCreateCommunity()))
|
||||
return new ErrorBox("Community Error","You are not permitted to create communities.","top");
|
||||
{ // EJB 11/25/2001 - give a different error message if they're not logged in
|
||||
if (user.isLoggedIn())
|
||||
return new ErrorBox("Community Error","You are not permitted to create communities.","top");
|
||||
else
|
||||
return new ErrorBox("Community Error","You must be logged in to create a new community.","top");
|
||||
|
||||
} // end if
|
||||
|
||||
// load the "Create Communities" dialog
|
||||
CreateCommunityDialog dlg = makeCreateCommunityDialog();
|
||||
|
||||
Reference in New Issue
Block a user