*** empty log message ***

This commit is contained in:
Eric J. Bowersox
2003-05-20 03:25:31 +00:00
commit b80fa05ed1
682 changed files with 85738 additions and 0 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) 2002-03 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
*#
## Define macros around the "std" object.
#macro( formatURL $type $url )$std.formatURL($type,$url)#end
#macro( encodeHTML $data )$std.encodeHTML($data)#end
#macro( encodeURL $data )$std.encodeURL($data)#end
#macro( render $obj )$std.renderObject($obj)#end
#macro( renderDialog $dlg )$std.renderDialog($dlg)#end
#macro( stacktrace $thr )$std.getStackTrace($thr)#end
## following are additions for Venice
#macro( comment $txt )#if( ${std_frame.getShowComments()} )<!-- $txt -->#end #end
#macro( formatDate $d )$std_datefmt.formatDate($d)#end
#macro( formatActivity $d )$std_datefmt.getActivityString($d)#end
#macro( header1 $title )$std.renderObject($std_content.header1($title))#end
#macro( header2 $title $subtitle )$std.renderObject($std_content.header2($title,$subtitle))#end
#macro( button $type $name )$std.renderObject($std_button.getButton($type,$name))#end

View File

@@ -0,0 +1,33 @@
#*
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):
*#
## Begin by rendering the header and the content.
#render( $header )
#render( $content )
## Now render the buttons...
#if( $buttons.size() > 0 )
<div align="center">
#foreach( $btn in $buttons )
#if( $velocityCount > 1 )
## insert spaces between the buttons
&nbsp;&nbsp;
#end
<a href="#formatURL( $btn.linktype $btn.link )">#render( $btn.image )</a>
#end
</div>
#end

View File

@@ -0,0 +1,135 @@
#*
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) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
*#
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>#encodeHTML( $pagetitle ) - #encodeHTML( $sitetitle )</title>
#if( $pgicon_url && $pgicon_ltyp && $pgicon_mime )
<link rel="icon" href="#formatURL( $pgicon_ltyp $pgicon_url )" type="$pgicon_mime" />
#end
#if( $favicon_url && $favicon_ltyp )
<link rel="SHORTCUT ICON" href="#formatURL( $favicon_ltyp $favicon_url )" />
#end
#if( !$ms_copyright_violations )
<meta name="MSSmartTagsPreventParsing" content="TRUE" />
#end
<link rel="stylesheet" href="#formatURL( "SERVLET" "stylesheet-base.css" )" type="text/css" />
</head>
<body>
#comment( "BEGIN PAGE HEADER" )
<table class="frametop" border="0" width="100%" cellpadding="2" cellspacing="0">
<tr valign="middle">
<td align="left" width="20%" cellpadding="2" class="frametop">
#comment( "Site logo" )
<div class="frametopleft">
<a href="$siteurl"><img src="#formatURL( $logourltype $logourl )" alt="$sitetitle"
width="$logowidth" height="$logoheight" border="0" /></a>
</div>
</td>
<td align="center" width="30%" cellpadding="2" class="frametop">
#comment( "Links to Front Page, Help, Find" )
<p><b><a class="frametop" href="#formatURL( "SERVLET" "top.js.vs" )">Front Page</a></b></p>
<p><b>
<a class="frametop" href="TODO">Help</a> | <a class="frametop" href="TODO">Find</a>
</b></p>
</td>
<td align="right" width="50%" cellpadding="2" class="frametop">
#comment( "Banner Ad" )
<div class="frametopright">
<img src="#formatURL( "IMAGE" "temp/banner-ad.jpg" )" alt="" width="468" height="60" border="0" />
</div>
</td>
</tr>
<tr valign="middle"><td align="center" colspan="3" class="frametop">
#set( $lenc = "#encodeURL( $location )" )
#if( $user.isAnonymous() )
You are not logged in
#if( $display_login )
- <a class="frametop" href="#formatURL( "SERVLET" "login.js.vs?tgt=$lenc" )">Log In</a>
| <a class="frametop"
href="#formatURL( "SERVLET" "new_account.js.vs?tgt=$lenc" )">Create Account</a>
#end
#else
You are logged in as <b>$user.Name</b>
#if( $display_login )
- <a class="frametop" href="#formatURL( "SERVLET" "logout.js.vs?tgt=$lenc" )">Log Out</a>
#if( $unverified )
| <a class="frametop"
href="#formatURL( "SERVLET" "verify_email.js.vs?tgt=$lenc" )">Verify E-Mail</a>
#end
| <a class="frametop" href="#formatURL( "SERVLET" "profile.js.vs?tgt=$lenc" )">Profile</a>
#end
#end
</td></tr>
</table>
#comment( "END PAGE HEADER" )
<table border="0" width="100%" cellpadding="2" cellspacing="0">
<tr valign="top">
<td align="left" width="120" class="frameleft">
#comment( "BEGIN LEFT SIDEBAR" )
<div class="frameleft">
Top/community menu thingee
</div>
<div>&nbsp;</div>
<div class="frameleft">#render( $fixed_menu )</div>
#comment( "END LEFT SIDEBAR" )
</td>
<td align="left" width="100%" bgcolor="white" class="framecontent">
#comment( "BEGIN PAGE CONTENT" )
<div class="framecontent">#render( $content )</div>
#comment( "END PAGE CONTENT" )
</td>
</tr>
<tr valign="top">
<td align="left" width="120" class="frameleft">&nbsp;</td>
<td align="left" width="100%" bgcolor="white" class="framefooter">
#comment( "PAGE FOOTER" )
<hr width="80%">
<table align="center" border="0" cellpadding="0" cellspacing="6">
<tr valign="top">
<td align="right" class="framefooter">$footer_text</td>
<td rowspan="2" align="left" class="framefooter">
#set( $width_logo = (129 * $flogoscale) / 100 )
#set( $height_logo = (103 * $flogoscale) / 100 )
<a href="http://venice.sourceforge.net/" target="_blank"><img
src="#formatURL ("IMAGE" "powered-by-venice.gif" )" alt="Powered By Venice"
width="$width_logo" height="$height_logo" border="0" /></a>
</td>
</tr>
<tr valign="top"><td align="right" class="framefooter">
#comment( "HITCOUNTER FOR QID: $qid" )
</td></tr>
</table>
#comment( "END PAGE FOOTER" )
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,24 @@
#*
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):
*#
#comment( "Password changed" )
#header1( "Your Password Has Been Changed" )
<p>The password for your account has been changed, and a new password has been E-mailed
to you at your account's defined E-mail address. (Check your E-mail again!). After
getting the new password, please log in and change your password (yes, again!) as soon
as possible.</p>
<div align="center"><a href="#formatURL( "SERVLET" "top.js.vs" )">Return To Front Page</a></div>

View File

@@ -0,0 +1,95 @@
#*
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) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
*#
## More advanced stylesheet imported from the base one; styles usable by IE 4-6, Opera,
## Mozilla/Netscape 6+
body, body div, body p, body th, body td, body li, body dd {
font-size: x-small; /* WinIE 4/5 */
voice-family: "\"}\""; /* stops WinIE 4/5 */
voice-family: inherit;
font-size: small; /* IE6, Mozilla */
}
body td.frametop, body div.frametop, body p.frametop {
font-size: small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: medium;
}
body td.smcontent, body div.smcontent, body p.smcontent {
font-size: xx-small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
body td.framefooter, body div.framefooter, body p.framefooter {
font-size: xx-small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-small;
}
body span.chdrtitle {
font-size: large;
voice-family: "\"}\"";
voice-family: inherit;
font-size: x-large;
}
body span.chdrsubtitle {
font-size: small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: medium;
}
body td.errorhead, body td.errorbody {
font-size: small;
voice-family: "\"}\"";
voice-family: inherit;
font-size: medium;
}
html>body, html>body div, html>body p, html>body th, html>body td, html>body li, html>body dd {
font-size: small; /* be nice to Opera */
}
html>body td.frametop, html>body div.frametop, html>body p.frametop {
font-size: medium;
}
html>body td.smcontent, html>body div.smcontent, html>body p.smcontent {
font-size: x-small;
}
html>body td.framefooter, html>body div.framefooter, html>body p.framefooter {
font-size: x-small;
}
html>body span.chdrtitle {
font-size: x-large;
}
html>body span.chdrsubtitle {
font-size: medium;
}
html>body td.errorhead, html>body td.errorbody {
font-size: medium;
}

View File

@@ -0,0 +1,99 @@
#*
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) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
*#
## Simple stylesheet that Netscape 4 should understand; uses @import to hide more advanced
## rules, since NN4 doesn't grok @import
@import url("stylesheet-advanced.css");
body, div, p, th, td, li, dd {
/* these selectors are for Netscape Navigator 4 */
font-family: Arial, Helvetica, sans-serif;
font-size: 11px; /* pixels are the only thing that's safe */
}
body {
background-color: #9999ff;
}
.frametop {
color: #ffffff;
background-color: #6666cc;
font-size: 15px; /* only thing that's safe */
}
a.frametop, a.frametop:link, a.frametop:visited {
color: #ffff00;
}
div.frametopleft {
padding: 2px;
}
div.frametopright {
padding: 2px;
}
.frameleft {
color: #000000;
background-color: #9999ff;
}
.framecontent {
color: #000000;
background-color: #ffffff;
}
.content {
color: #000000;
background-color: #ffffff;
}
.smcontent {
color: #000000;
background-color: #ffffff;
font-size: 9px;
}
.framefooter {
color: #000000;
background-color: #ffffff;
font-size: 9px;
}
span.chdrtitle {
color: #3333aa;
font-weight: bold;
font-size: 24px;
}
span.chdrsubtitle {
color: #3333aa;
font-weight: bold;
font-size: 13px;
}
td.errorhead {
color: #ffffff;
background-color: #660000;
text-align: center;
font-size: 15px;
}
td.errorbody {
text-align: center;
font-size: 15px;
}

View File

@@ -0,0 +1,73 @@
#*
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):
*#
#comment( "Profile for user - UID=$uid" )
#header2( "User Profile:" "$username" )
<table border="0" cellpadding="6" cellspacing="0"><tr valign="top">
<td align="left" class="smcontent">
<p>#render( $photo )<br clear="left" /></p>
<p class="smcontent">
#if( $date_create )
Account created:<br />#formatDate( $date_create )<br />
#end
#if( $date_lastlogin )
Last login:<br />#formatDate( $date_lastlogin )<br />
#end
#if( $date_lastupdate )
Profile last updated:<br />#formatDate( $date_lastupdate )<br />
#end
</p>
</td>
<td align="left" class="content">
<b>#encodeHTML( "$fullname" )</b><br />
#if( $email )
E-mail: <a href="mailto:$email">#encodeHTML( "$email" )</a><br />
#end
#if( $url )
URL: <a href="$url" target="Wander">#encodeHTML( "$url" )</a><br />
#end
#if( $company )#encodeHTML( "$company" )<br />#end
#if( $addr1 )#encodeHTML( "$addr1" )<br />#end
#if( $addr2 )#encodeHTML( "$addr2" )<br />#end
#if( $addr_last )#encodeHTML( "$addr_last" )<br />#end
#if( $country )#encodeHTML( "$country" )<br />#end
#if( $phone )Phone: #encodeHTML( "$phone" )<br />#end
#if( $fax )Fax: #encodeHTML( "$fax" )<br />#end
#if( $mobile )Mobile: #encodeHTML( "$mobile" )<br />#end
</td>
</tr></table><br />
#if( $description )
<em>#encodeHTML( "$description" )</em>
#end
#if( $quick_email )
<hr /><b>Send Quick E-Mail To ${username}:</b><br />
<form method="POST" action="#formatURL( "SERVLET" "quick_email.js.vs" )">
<input type="hidden" name="to_uid" value="$uid" />
<table border="0" cellpadding="0">
<tr valign="middle"><td align="left" class="content">
Subject: <input type="text" name="subj" size="65" maxlength="255" value="" />
</td></tr>
<tr valign="middle"><td align="left">
<textarea name="pb" wrap="hard" rows="7" cols="80"></textarea>
</td></tr>
<tr valign="middle"><td align="left" class="content">#button( "INPUT" "send.email" )</td></tr>
</table>
</form>
#end

View File

@@ -0,0 +1,39 @@
#*
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):
*#
#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" />
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td align="center"><input type="radio" name="selector" value="none" /></td>
<td align="left">No photo</td>
<td>&nbsp;</td>
</tr>
<tr>
<td align="center"><input type="radio" name="selector" value="set" /></td>
<td align="left">Set photo 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 photo:</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>