minor change to community creation error message & to some documentation

This commit is contained in:
Eric J. Bowersox
2001-11-25 20:54:05 +00:00
parent a7b07292dd
commit 8358e5645e
2 changed files with 29 additions and 3 deletions

View File

@@ -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();