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:
43
venice-data/velocity/comm/community_logo.vm
Normal file
43
venice-data/velocity/comm/community_logo.vm
Normal file
@@ -0,0 +1,43 @@
|
||||
#*
|
||||
The contents of this file are subject to the Mozilla Public License Version 1.1
|
||||
(the "License"); you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at <http://www.mozilla.org/MPL/>.
|
||||
|
||||
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
|
||||
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
|
||||
language governing rights and limitations under the License.
|
||||
|
||||
The Original Code is the Venice Web Communities System.
|
||||
|
||||
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) 2003 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
*#
|
||||
#*
|
||||
Parameters:
|
||||
community = Community we're setting the logo for.
|
||||
*#
|
||||
#header2( "Set Community Logo:" "${community.Name}" )
|
||||
<form method="POST" enctype="multipart/form-data" action="#formatURL( "SERVLET" "comm/admin/profile_logo.js.vs" )">
|
||||
<input type="hidden" name="cc" value="${community.getCID()}" />
|
||||
<table border="0" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td align="center"><input type="radio" name="selector" value="none" /></td>
|
||||
<td align="left">No logo</td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><input type="radio" name="selector" value="set" /></td>
|
||||
<td align="left">Set logo URL:</td>
|
||||
<td align="left"><input type="text" name="url" value="" size="64" maxlength="254" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><input type="radio" name="selector" value="upload" /></td>
|
||||
<td align="left">Upload logo:</td>
|
||||
<td align="left"><input type="file" name="image" value="" size="64" maxlength="254" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
#button( "INPUT" "set" ) #button( "INPUT" "cancel" )
|
||||
</form>
|
||||
@@ -15,6 +15,10 @@
|
||||
|
||||
Contributor(s):
|
||||
*#
|
||||
#*
|
||||
Parameters:
|
||||
target = Target URL.
|
||||
*#
|
||||
#header1( "Set User Photo" )
|
||||
<form method="POST" enctype="multipart/form-data" action="#formatURL( "SERVLET" "profile_photo.js.vs" )">
|
||||
<input type="hidden" name="tgt" value="$target" />
|
||||
|
||||
Reference in New Issue
Block a user