1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
|
<dtml-comment >
<!-- version : $Revision: 1.7 $
author : Butch Landingin
copyright (c) 1999 by Butch Landingin
see License.txt for restrictions on distribution, use
and modifications.
-->
</dtml-comment>
<dtml-var site_header>
<dtml-if "not REQUEST.has_key('title')">
<dtml-call "REQUEST.set('title','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('author')">
<dtml-call "REQUEST.set('author','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('body')">
<dtml-call "REQUEST.set('body','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('email')">
<dtml-call "REQUEST.set('email','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('notify')">
<dtml-call "REQUEST.set('notify','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('summary')">
<dtml-call "REQUEST.set('summary','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('dept')">
<dtml-call "REQUEST.set('dept','')">
</dtml-if>
<dtml-if "not REQUEST.has_key('subject')">
<dtml-call "REQUEST.set('subject','')">
</dtml-if>
<!-- validate it first -->
<dtml-unless skipvalid >
<dtml-let msgstr=validatePosting>
<dtml-if "msgstr[1]">
<dtml-return "showError(_.None,_,values=msgstr[0],title='Data Missing',message=msgstr[1],action=REQUEST['URL1'] + '/previewPosting')" >
</dtml-if>
</dtml-let>
</dtml-unless>
<!-- main table begin-->
<TABLE width="99%" align=center cellpadding=5 cellspacing=0 border=0 bgcolor="<dtml-var color2>">
<TR> <!--1st row of main table -->
<TD width=100 align=left valign=top rowspan=5><!--1st col of 1st row of main table --><FONT
size=2><B><dtml-if leftbox_items>
<dtml-in leftbox_items>
<A href="<dtml-if relurl><dtml-var site_url ></dtml-if><dtml-var urlname url_quote>"><dtml-var name></A><BR>
</dtml-in>
<dtml-else>
<A href="<dtml-var site_url >/../index_html">up a level</A><BR>
<A href="<dtml-var site_url >/addPostingForm">post article</A><BR>
<A href="<dtml-var site_url >/searchForm">search</A><BR>
<A href="<dtml-var site_url >/manage">admin</A><BR>
</dtml-if>
<A HREF="<dtml-var site_url >/index_html">main</A> <BR>
<dtml-if "meta_type == 'Comment'">
<A HREF="<dtml-var site_url ><dtml-var thread_path url_quote>/index_html#<dtml-var id url_quote>">parent</A> <BR>
<dtml-if "level > 1">
<A HREF="<dtml-var site_url >/<dtml-var expr="getThread(0)" url_quote>/index_html#<dtml-var id url_quote>">thread</A> <BR>
</dtml-if level>
</dtml-if meta_type>
</B></FONT>
<P><BR></TD>
<dtml-call "REQUEST.set('currtime',ZopeTime())">
<!--mark demarcation -->
<dtml-if "meta_type == 'Squishdot Site'">
<!--mark demarcation2-->
<TD width=auto colspan=1 valign=top align=left><FONT
color="<dtml-var color1>"><TABLE width="99%" cellpadding=0 cellspacing=0 border=0>
<TR>
<TD valign=top bgcolor="<dtml-var color3>"><dtml-if round_edge><IMG
src="<dtml-var site_url >/Images/roundedge_img"
width=13 height=16 alt="" align=top><dtml-else> </dtml-if><FONT size=4
color="<dtml-var color2>" face="arial,helvetica"><B><dtml-if "REQUEST['title']"><dtml-var "REQUEST['title']" ><dtml-else> </dtml-if></B></FONT></TD>
<dtml-if drop_shadow>
<TD valign=bottom width=4><IMG align=bottom
src="<dtml-var site_url >/Images/rtshadow_img" width=4 height=18 alt=""></TD>
</TR>
<TR>
<TD background="<dtml-var site_url >/Images/botshadow_img"><IMG src="<dtml-var site_url >/Images/botshadow_img" width="1"
height=4 alt=""></TD>
<TD width=4><IMG src="<dtml-var site_url >/Images/rtbotshadow_img" width=4 alt="" height=4></TD>
</dtml-if>
</TR>
</TABLE></FONT>
<dtml-if "subject_image(REQUEST['subject'])"><A href="<dtml-var site_url >/search?subject=<dtml-var "REQUEST['subject']" url_quote>&op=articles"><IMG src="<dtml-var site_url >/<dtml-var "subject_image(REQUEST['subject'])" url_quote>"
border=0 alt="<dtml-var "REQUEST['subject']">" align=right hspace=20 vspace=10></A></dtml-if>
<B>Posted <dtml-if "REQUEST['author']">by <dtml-if "REQUEST['email']" ><A href="mailto:<dtml-var "REQUEST['email']" url_quote>"></dtml-if><dtml-var "REQUEST['author']"><dtml-if "REQUEST['email']"></A></dtml-if></dtml-if> on <dtml-var currtime fmt=Day> <dtml-var currtime fmt=Month> <dtml-var currtime fmt=dd>, @<dtml-var currtime fmt=AMPMMinutes upper></B><BR>
<dtml-if "REQUEST['dept']"><FONT size=2><B>from the <dtml-var "REQUEST['dept']"> dept.</B></FONT></dtml-if><BR>
<dtml-var "render(_.string.split(REQUEST['summary'],'\n'),REQUEST.get('encoding','HTML'))"><BR><BR>
<dtml-var "render(_.string.split(REQUEST['body'],'\n'),REQUEST.get('encoding','HTML'))"><BR><BR>
<HR WIDTH='80%'>
<FORM ACTION="." ENCTYPE="multipart/form-data" METHOD="POST">
<P><FONT color="<dtml-var color3>"><B>Your Name</B></FONT>
(<B>Required*</B>)<BR>
<INPUT TYPE="TEXT" NAME="author"
VALUE="<dtml-if "REQUEST['author']"><dtml-var "REQUEST['author']" html_quote></dtml-if author>" SIZE=50>
<P><FONT color="<dtml-var color3>"><B>Your Email address</B></FONT>
(<dtml-if mail_host>Required if reply notification is checked<dtml-else>Optional</dtml-if>)<BR>
<INPUT TYPE="TEXT" NAME="email"
VALUE="<dtml-if "REQUEST['email']"><dtml-var "REQUEST['email']" html_quote></dtml-if>" SIZE=50>
<dtml-if mail_host>
<P><FONT color="<dtml-var color3>"><B>Reply Notification</B></FONT>
(Optional)<BR>
<INPUT TYPE="CHECKBOX" NAME="notify" VALUE="1"<dtml-if "REQUEST['notify']"> CHECKED</dtml-if notify>>
<EM>Notify me via email of responses to this message</EM>
</dtml-if>
<P><FONT color="<dtml-var color3>"><B>Article Title</B></FONT>
(<B>Required*</B>)<BR>
<INPUT TYPE="TEXT" NAME="title"
VALUE="<dtml-if "REQUEST['title']"><dtml-var "REQUEST['title']" html_quote></dtml-if >" SIZE=50>
<BR><FONT size=2>(bad titles='Check This Out!' or 'An Article'.
Put in a descriptive but brief title so readers can figure out right away what it's all about.)</FONT>
<P><FONT color="<dtml-var color3>"><B>Topic Subject</B></FONT>
(<B>Required*</B>)<BR>
<dtml-if has_subjects>
<FONT bgcolor="<dtml-var color3>">
<SELECT NAME="subject">
<dtml-unless "REQUEST['subject']" >
<OPTION VALUE="" SELECTED >
</dtml-unless>
<dtml-in subjects_list>
<dtml-if "_['sequence-item'] == REQUEST['subject']" >
<OPTION VALUE="<dtml-var sequence-item html_quote>" SELECTED ><dtml-var sequence-item>
<dtml-else>
<OPTION VALUE="<dtml-var sequence-item html_quote>"><dtml-var sequence-item>
</dtml-if>
</dtml-in subjects_list>
</SELECT>
</FONT>
<BR><FONT size=2>(If your article does not seem to fit into any of the pre-defined categories,<BR>
contact your web administrator to add it in.)</FONT>
<dtml-else>
<INPUT TYPE="TEXT" NAME="subject" VALUE="<dtml-var "REQUEST['subject']" html_quote>" SIZE="40">
<BR><FONT size=2>(No topic subject categories have been set up.<BR>
Topic subject categories allow you to pick the appropriate topic from a pre-defined list.<BR>
Contact your web administrator if you want one (highly recommended).<BR>
Otherwise, put in a keyword that can be used for searching.)</FONT>
</dtml-if has_subjects>
<P><FONT color="<dtml-var color3>"><B>Dept.</B></FONT>
(Optional)<BR>
<INPUT TYPE="TEXT" NAME="dept" VALUE="<dtml-var "REQUEST['dept']" html_quote>" SIZE=50>
<BR><FONT size=2>(This should be a short, colorful or funny quip about the article
which will be displayed on the main page.<BR>
Examples would be <B>you-gotta-be-kidding dept.</B>
or <B>eat-your-broccolli-and-no-complaining-about-it dept.</B><BR>
Use your imagination (you got one, don't ya?)(<B>Note:</B> Don't type in the "dept." part.))</FONT>
<P><FONT color="<dtml-var color3>"><B>Lead Summary</B></FONT>
(<B>Required</B>)<BR>
<TEXTAREA wrap=virtual cols=50 rows=12
NAME="summary"><dtml-if "REQUEST['summary']"><dtml-var "REQUEST['summary']" html_quote></dtml-if></TEXTAREA><BR>
<FONT size=2>(This is the text displayed in the main page.<BR>
If there are more than 3 or 4 paragraphs, put the rest into the body.)</FONT>
<P><FONT color="<dtml-var color3>"><B>Main Body</B></FONT>
(Optional)<BR>
<TEXTAREA wrap=virtual cols=50 rows=14
NAME="body"><dtml-if "REQUEST['body']"><dtml-var "REQUEST['body']" html_quote></dtml-if></TEXTAREA><BR>
<FONT size=2>(This can be as long as you like.)</FONT>
<P><FONT color="<dtml-var color3>"><B>Encoding</FONT><BR>
<SELECT NAME="encoding">
<dtml-in "[['HTML','HTML'],['STX','Structured Text'],['Plain','Plain Text']]" >
<OPTION VALUE="<dtml-var "_.getitem('sequence-item',0)[0]" html_quote>" <dtml-if "REQUEST.get('encoding','HTML')==_.getitem('sequence-item',0)[0]">SELECTED</dtml-if>>
<dtml-var "_.getitem('sequence-item',0)[1]" html_quote>
</OPTION>
</dtml-in>
</SELECT>
<BR>
<FONT size=2>If none of the above mean anything to you, select 'Plain'!</FONT>
<P><FONT color="<dtml-var color3>"><B>File Attachment</B></FONT>
(Optional)<BR>
<INPUT TYPE="FILE" NAME="file" SIZE="50" VALUE="" ><BR>
<FONT size=2>(You can attach a file to your article which can then be retrieved by other readers.<BR>
Try to keep the file sizes below 500Kb in order to conserve network and server resources.)<BR>
<B>Preview Note:</B> Due to browser limitations, file attachment selections are not preserved<BR>
in the preview panels and must be entered prior to adding.</FONT>
</P>
<P>Allowed HTML<BR>
<FONT size=1>
<B>
<I>
<P>
<A>
<LI>
<OL>
<UL>
<EM>
<BR>
<TT>
<HR>
<STRONG>
<BLOCKQUOTE>
<DIV .*>
<DIV>
<P .*> </FONT>
</P>
<P><INPUT NAME="addPosting:method" TYPE="SUBMIT" VALUE=" Add ">
<INPUT NAME="previewPosting:method" TYPE="SUBMIT" VALUE=" Preview ">
<INPUT NAME="index_html:method" TYPE="SUBMIT" VALUE="Cancel">
</FORM><P><P>
</TD>
<dtml-else>
<!--mark demarcation3-->
<TD width=auto colspan=1 valign=top align=left><TABLE width="99%" cellpadding=5 cellspacing=0 border=0>
<TR>
<TD bgcolor="<dtml-var color4>"><dtml-if "REQUEST['title']"><B><dtml-var "REQUEST['title']"></B></dtml-if> <BR>
<dtml-if "REQUEST['author']">by <dtml-if "REQUEST['email']"><A href="mailto:<dtml-var "REQUEST['email']" url_quote>"></dtml-if><dtml-var "REQUEST['author']"><dtml-if "REQUEST['email']"></A></dtml-if></dtml-if> on <dtml-var currtime fmt=Day> <dtml-var currtime fmt=Month> <dtml-var currtime fmt=dd>, @<dtml-var currtime fmt=AMPMMinutes upper><BR>
</TD>
</TR>
<TR>
<TD><dtml-var "render(_.string.split(REQUEST['body'],'\n'),REQUEST.get('encoding','HTML'))"></TD>
</TR></TABLE>
<HR WIDTH='80%'>
<FORM ACTION="." ENCTYPE="multipart/form-data" METHOD="POST">
<TABLE BORDER=0 CELLSPACING=2 CELLPADDING=1>
<TR>
<TD WIDTH=130 ALIGN=RIGHT><B>Name</B></TD>
<TD WIDTH=500><INPUT TYPE="TEXT" NAME="author"
VALUE="<dtml-if "REQUEST['author']"><dtml-var "REQUEST['author']" html_quote></dtml-if author>"
SIZE=50></TD>
</TR>
<TR>
<TD ALIGN=RIGHT>Email</TD><TD><INPUT TYPE="TEXT" NAME="email"
VALUE="<dtml-if "REQUEST['email']"><dtml-var "REQUEST['email']" html_quote></dtml-if email>"
SIZE=50></TD>
</TR>
<dtml-if mail_host>
<TR>
<TD ALIGN=RIGHT>Notify</TD><TD><INPUT TYPE="CHECKBOX" NAME="notify"
VALUE="1"<dtml-if "REQUEST['notify']"> CHECKED</dtml-if>>
<EM>Notify me via email of responses to this message</EM></TD>
</TR>
</dtml-if>
<TR>
<TD ALIGN=RIGHT><B>Title</B></TD><TD><INPUT TYPE="TEXT" NAME="title"
VALUE="<dtml-if "REQUEST['title']"><dtml-var "REQUEST['title']" html_quote></dtml-if >"
MAXLENGTH=50 SIZE=50></TD>
</TR>
<TR>
<TD ALIGN=RIGHT VALIGN=TOP><B>Comment</B></TD>
<TD><TEXTAREA wrap=virtual cols=50 rows=14
NAME="body"><dtml-if "REQUEST['body']"><dtml-var "REQUEST['body']" html_quote></dtml-if></TEXTAREA>
<BR><FONT size=2>(Check those damned URLs! Don't forget the http://!)</FONT></TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>Encoding</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<SELECT NAME="encoding">
<dtml-in "[['HTML','HTML'],['STX','Structured Text'],['Plain','Plain Text']]" >
<OPTION VALUE="<dtml-var "_.getitem('sequence-item',0)[0]" html_quote>" <dtml-if "REQUEST.get('encoding','HTML')==_.getitem('sequence-item',0)[0]">SELECTED</dtml-if>>
<dtml-var "_.getitem('sequence-item',0)[1]" html_quote>
</OPTION>
</dtml-in>
</SELECT>
<BR>
<small>If none of the above mean anything to you, select 'Plain'!</small>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT VALIGN=TOP>Attachment</TD>
<TD><INPUT TYPE="FILE" NAME="file" SIZE="50" VALUE="" >
<BR><FONT size=2>(You can attach a file to your reply
which can then be retrieved by other readers.<BR>
Try to keep the file sizes below 500Kb in order to
conserve network and server resources.)<BR>
<B>Preview Note:</B> Due to browser limitations, file attachment selections are not preserved<BR>
in the preview panels and must be entered prior to adding</FONT></TD>
</TR>
<TR>
<TD valign=top align=right>Allowed HTML</TD>
<TD><FONT size=1>
<B>
<I>
<P>
<A>
<LI>
<OL>
<UL>
<EM>
<BR>
<TT>
<HR>
<STRONG>
<BLOCKQUOTE>
<DIV .*>
<DIV>
<P .*> </FONT>
</TD>
</TR>
<TR>
<TD> </TD>
<TD>
<INPUT NAME="addPosting:method" TYPE="SUBMIT" VALUE=" Add ">
<INPUT NAME="previewPosting:method" TYPE="SUBMIT" VALUE=" Preview ">
<INPUT NAME="index_html:method" TYPE="SUBMIT" VALUE="Cancel"></TD>
</TR>
</TABLE>
</FORM>
</TD>
</dtml-if>
<TD valign=top width=210 align=right ><TABLE cellpadding=0 cellspacing=0 border=0 width="200">
<TR bgcolor="<dtml-var color3>">
<TD valign=top bgcolor="<dtml-var color3>"><dtml-if round_edge><IMG src="Images/roundedge_img"
width=13 height=16 alt="" align=top><dtml-else> </dtml-if><FONT size=4
color="<dtml-var color2>" face="arial,helvetica"><B>Related Links</B></FONT> </TD>
<dtml-if drop_shadow>
<TD bgcolor="<dtml-var color2>" background="<dtml-var site_url >/Images/rtshadow_img"><IMG src="<dtml-var site_url>/Images/rtshadow_img"
width=5 height=10 alt=""></TD>
</dtml-if drop_shadow>
</TR>
<TR>
<TD width=200 bgcolor="<dtml-var color4>"
align=center ><TABLE width=188 border=0 cellpadding=0 cellspacing=5>
<TR>
<TD><FONT color="<dtml-var color1>" size=2>
<dtml-if "REQUEST['subject']"><LI><A href="<dtml-var site_url >/search?subject=<dtml-var "REQUEST['subject']" url_quote>&op=articles">
Articles on <dtml-var subject></A></dtml-if>
<dtml-if "REQUEST['author']"><LI><A href="<dtml-var site_url >/search?author=<dtml-var "REQUEST['author']" url_quote>&op=articles">
Also by <dtml-var "REQUEST['author']"></A>
<dtml-if "REQUEST['email']"><LI>Contact <A href="mailto:<dtml-var "REQUEST['email']" >">author</A></dtml-if></dtml-if></FONT></TD>
</TR>
</TABLE></TD>
<dtml-if drop_shadow>
<TD valign=bottom background="<dtml-var site_url >/Images/rtshadow_img"
width=4><IMG align=bottom src="<dtml-var site_url>/Images/rtshadow_img" width=5 height=4></TD>
</TR>
<TR>
<TD background="Images/botshadow_img"><IMG src="<dtml-var site_url>/Images/botshadow_img" width=196 height=4 alt=""></TD>
<TD><IMG src="<dtml-var site_url>/Images/rtbotshadow_img" alt="" width=4 height=4></TD>
</dtml-if drop_shadow>
</TR>
</TABLE><P>
<!--end demarcation-->
</TD>
</TR>
</TABLE>
<dtml-var site_footer>
|