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:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user