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
|
<dtml-comment >
<!-- version : $Revision: 1.6 $
author : Butch Landingin
copyright (c) 1999 by Butch Landingin
see License.txt for restrictions on distribution, use
and modifications.
-->
</dtml-comment>
<dtml-var standard_html_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>
<TABLE BORDER="1">
<TR>
<TD BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="TOP">
<A HREF="<dtml-var site_url >/index_html">Return to Topic</A>
</TD>
<dtml-if "meta_type == 'Comment'">
<TD>
<A HREF="<dtml-var site_url ><dtml-var thread_path url_quote>/index_html#<dtml-var id url_quote>">Return to parent</A>
</TD>
<dtml-if "level > 1">
<TD>
<A HREF="<dtml-var site_url >/<dtml-var expr="getThread(0)" url_quote>/index_html#<dtml-var id url_quote>">Return to main thread</A>
</TD>
</dtml-if level>
</dtml-if meta_type>
</TR>
</TABLE>
<P>
<STRONG><dtml-var "REQUEST['title']"></STRONG><BR>
<dtml-call "REQUEST.set('currtime',ZopeTime())">
<b><dtml-var currtime fmt=Day> <dtml-var currtime fmt=Month> <dtml-var currtime fmt=dd>, @<dtml-var currtime fmt=AMPMMinutes upper></b> by <dtml-var "REQUEST['author']"><BR>
<dtml-if "meta_type == 'Squishdot Site'">
<dtml-if subject>
<STRONG> Subject :</STRONG> <dtml-var subject><BR>
<dtml-call expr="REQUEST.set('currsubj',REQUEST['subject'])">
<dtml-with "PARENTS[0]">
<dtml-if "subject_image(_['currsubj'])"><img src="<dtml-var site_url >/<dtml-var "subject_image(_['currsubj'])" url_quote>"
ALIGN="RIGHT"></dtml-if>
</dtml-with>
</dtml-if subject>
<dtml-if dept>
<STRONG><EMPHASIS><FONT size=-1> from the <dtml-var dept> dept. </FONT></EMPHASIS></STRONG><BR>
</dtml-if dept>
<dtml-if "REQUEST['summary']">
<STRONG>Summary :</STRONG><BR>
<dtml-var "render(_.string.split(REQUEST['summary'],'\n'),REQUEST.get('encoding','HTML'))">
</dtml-if>
</dtml-if meta_type>
<dtml-if "REQUEST['body']">
<BR><STRONG>Text :</STRONG><BR>
<dtml-var "render(_.string.split(REQUEST['body'],'\n'),REQUEST.get('encoding','HTML'))">
</dtml-if>
<hr>
<FORM ACTION="." ENCTYPE="multipart/form-data" METHOD="POST">
<TABLE CELLSPACING="2">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Title</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="title" VALUE="<dtml-if "REQUEST['title']"><dtml-var "REQUEST['title']" html_quote></dtml-if >" SIZE="40">
</TD>
</TR>
<dtml-if "meta_type == 'Squishdot Site'">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Subject</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<dtml-if has_subjects>
<SELECT NAME="subject">
<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>
<dtml-else>
<INPUT TYPE="TEXT" NAME="subject" VALUE="<dtml-var "REQUEST['subject']" html_quote>" SIZE="40">
</dtml-if has_subjects>
</TD>
</TR><TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Dept</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="dept" VALUE="<dtml-var "REQUEST['dept']" html_quote>" SIZE="40">
</TD>
</TR>
</dtml-if>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<STRONG>Author</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="author" VALUE="<dtml-if "REQUEST['author']"><dtml-var "REQUEST['author']" html_quote></dtml-if >" SIZE="40">
</TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<EM><STRONG>Email</STRONG></EM>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="TEXT" NAME="email" VALUE="<dtml-if "REQUEST['email']" ><dtml-var "REQUEST['email']" html_quote></dtml-if >" SIZE="40">
</TD>
</TR>
<dtml-if mail_host>
<TR>
<TD></TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<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 mail_host>
<dtml-if "meta_type == 'Squishdot Site'">
<TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>Summary</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<TEXTAREA NAME="summary" wrap=virtual ROWS="5" COLS="50"><dtml-if "REQUEST['summary']" ><dtml-var "REQUEST['summary']" html_quote ></dtml-if ></TEXTAREA></TD>
</TR>
</dtml-if>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP"><STRONG>Text</STRONG>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<TEXTAREA NAME="body" wrap=virtual ROWS="14" COLS="50"><dtml-if "REQUEST['body']" ><dtml-var "REQUEST['body']" html_quote ></dtml-if ></TEXTAREA>
</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>
</TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP">
<EM><STRONG>Attachment</STRONG></EM>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT TYPE="FILE" NAME="file" SIZE="25" VALUE="">
</TD>
</TR>
<TR>
<TD></TD>
<TD>
<BR>
<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>
<p><a href="http://squishdot.org"><img src="&dtml-site_url;/<dtml-var squishlogo>" alt="Squishdot Powered" border=1 height=50 width=75></a>
<dtml-var standard_html_footer>
|