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

@@ -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>&nbsp;</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" )&nbsp;&nbsp;#button( "INPUT" "cancel" )
</form>

View File

@@ -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" />