added community logo support and the logo on top of the community left menu;

fixed some bugs with menu handling
This commit is contained in:
Eric J. Bowersox
2003-06-16 23:59:30 +00:00
parent f8ddd74223
commit 2aae5c47eb
19 changed files with 981 additions and 11 deletions

View File

@@ -167,7 +167,7 @@
<object name="venice-frame" classname="com.silverwrist.venice.frame.FrameAssembler" priority="101">
<global-properties object="globals"/>
<providers security="srm" menu="venice-menus"/>
<providers security="srm" menu="venice-menus" commlogo="venice-communitylogo"/>
</object>
<object name="venice-content" classname="com.silverwrist.venice.content.StandardContentSupplier" priority="100">
@@ -182,6 +182,10 @@
<global-properties object="globals"/>
</object>
<object name="venice-communitylogo" classname="com.silverwrist.venice.content.CommunityLogoRenderer" priority="100">
<global-properties object="globals"/>
</object>
<object name="venice-dlg-manager" classname="com.silverwrist.venice.dialog.VeniceDialogManager" priority="101">
<providers button="venice-buttons" content="venice-content"/>
</object>

View File

@@ -618,7 +618,11 @@ INSERT INTO globalprop (nsid, prop_name, prop_value) VALUES
(15, 'rules', '!Please treat one another with courtesy and respect.'),
(15, 'language', '_LANG:en-US' ),
(15, 'country', '_CTRY:US' ),
(16, 'options', '_OS:A' );
(16, 'options', '_OS:A' ),
(16, 'community.logo.width', 'I110' ),
(16, 'community.logo.height', 'I65' ),
(16, 'community.nologo.url', '!community_other.jpg' ),
(16, 'community.nologo.url.type', '!IMAGE' );
# Initial global blocks setup
INSERT INTO globalblock (nsid, block_name, block) VALUES
@@ -842,7 +846,8 @@ INSERT INTO auditevent (eventid, event_nsid, event_name, descr) VALUES
# Insert some image types.
INSERT INTO imagetype (typecode, nsid, name) VALUES
(1, 11, 'user.photo');
(1, 11, 'user.photo' ),
(2, 15, 'community.logo');
# Create the "members" group for the initial community.
# (GID 4)