66 lines
2.7 KiB
Plaintext
66 lines
2.7 KiB
Plaintext
#*
|
|
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@ricochet.com>,
|
|
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
|
Copyright (C) 2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
|
|
|
Contributor(s):
|
|
*#
|
|
## Render the post box.
|
|
#set( $html_reference = "html-reference.html" )
|
|
#comment( "BEGIN POST BOX" )
|
|
<form method="POST" action="#formatURL( $action $action_type )"><div class="content">
|
|
#foreach( $pn in $params.keySet() )
|
|
<input type="hidden" name="$pn" value="$!{params.get($pn)}" />
|
|
#end
|
|
<table border="0" cellpadding="0">
|
|
#if( $newtopic_name )
|
|
<tr><td align="left" colspan="2" class="content">
|
|
#font( "content.fg" "content" )New topic name:</font><br />
|
|
<span class="cinput"><input type="text" class="cinput" name="$newtopic_name"
|
|
size="37" maxlength="128" value="$!newtopic_value" /></span>
|
|
</td></tr>
|
|
#end
|
|
<tr><td align="left" colspan="2" class="content">
|
|
#font( "content.fg" "content" )Your name/header:</font><br />
|
|
<span class="cinput"><input type="text" class="cinput" name="$pseud_name"
|
|
size="37" maxlength="255" value="$!pseud_value" /></span>
|
|
#font( "content.fg" "content" )<input type="checkbox"
|
|
name="$attach_name"
|
|
#if( $attach_value )checked="checked"#end
|
|
value="Y" /> Attach a file</font>
|
|
</td></tr>
|
|
<tr>
|
|
<td align="left" class="content">#font( "content.fg" "content" )Message:</font></td>
|
|
<td align="right" class="content">#font( "content.fg" "content" )
|
|
<a href="#externalStatic( $html_reference )" target="_blank">HTML Guide</a>
|
|
</font></td>
|
|
</tr>
|
|
<tr><td align="left" colspan="2" class="cinput">
|
|
<textarea name="$text_name" wrap="soft" rows="7" cols="51">$!text_value</textarea>
|
|
</td></tr>
|
|
<tr><td align="center" colspan="2" class="content">
|
|
#set( $first = 1 )
|
|
#foreach( $bn in $buttons )
|
|
#if( $first == 1 )
|
|
#set( $first = 0 )
|
|
#else
|
|
|
|
#end
|
|
#button( $bn "input" )
|
|
#end
|
|
</td></tr>
|
|
</table>
|
|
</div></form>
|
|
#comment( "END POST BOX" )
|
|
## -- EOF --
|