File: Squishdot_posting_html.dtml

package info (click to toggle)
squishdot 1.3.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 896 kB
  • ctags: 349
  • sloc: python: 2,313; makefile: 56; sh: 54
file content (289 lines) | stat: -rw-r--r-- 13,033 bytes parent folder | download | duplicates (3)
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
<dtml-comment >  
<!-- version : $Revision: 1.5 $  
     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>  
<!-- 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>          
			&nbsp;<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>  
			&nbsp;<A href="<dtml-var site_url >/../index_html">up a level</A><BR>  
			&nbsp;<A href="<dtml-var site_url >/addPostingForm">post article</A><BR>  
			&nbsp;<A href="<dtml-var site_url >/searchForm">search</A><BR>  
			&nbsp;<A href="<dtml-var site_url >/manage">admin</A><BR>				  
			</dtml-if>  
			&nbsp;<A HREF="<dtml-var site_url >/index_html">main</A> <BR>  
			<dtml-if "meta_type == 'Comment'">  
			&nbsp;<A HREF="<dtml-var site_url ><dtml-var thread_path>/index_html#<dtml-var id>">parent</A> <BR>  
			<dtml-if "level > 1">  
			&nbsp;<A HREF="<dtml-var site_url >/<dtml-var expr="getThread(0)" >/index_html#<dtml-var id >">thread</A> <BR>  
			</dtml-if level>  
			</dtml-if meta_type>  
			</B></FONT>  
			<P><BR></TD>  
<!--mark demarcation -->  
<dtml-if "meta_type == 'Article'">  
<!--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>&nbsp;&nbsp;</dtml-if><FONT size=4   
    				 color="<dtml-var color2>" face="arial,helvetica"><B><dtml-var title></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(subject)"><A href="<dtml-var site_url >/search?subject=<dtml-var subject url_quote>&op=articles"><IMG src="<dtml-var site_url >/<dtml-var "subject_image(subject)" url_quote>"   
 				border=0 alt="<dtml-var subject>" align=right hspace=20 vspace=10></A></dtml-if>   
			<B>Posted by <A href="mailto:<dtml-var email >"><dtml-var author></A> on <dtml-var date_posted></B><BR>  
			<FONT size=2><B>from the <dtml-var dept> dept.</B></FONT><BR>  
			<dtml-var showSummary><BR> 
			<dtml-var showBody><BR><BR>  
			<P ALIGN="center"> &lt;&nbsp;   
			<dtml-if prev_item><dtml-in prev_item>  
			<A href="<dtml-var site_url ><dtml-var thread_path>/<dtml-var id>/index_html"><dtml-var title></A>  
			</dtml-in ></dtml-if previtem>   
			|   
			<dtml-if next_item><dtml-in next_item>  
			<A href="<dtml-var site_url ><dtml-var thread_path>/<dtml-var id>/index_html"><dtml-var title></A>  
			</dtml-in ></dtml-if nextitem>&nbsp;&gt;  
			</P> <P>&nbsp;</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>"><A name="<dtml-var id>"><B><dtml-var title></B></A> <BR>  
               by <A href="mailto:<dtml-var email >"><dtml-var author></A> on <dtml-var date_posted> <BR>    
					</TD>  
				</TR>   
			<TR>   
				<TD><dtml-var showBody></TD>   
				</TR></TABLE></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="<dtml-var site_url >/Images/roundedge_img"   
    				 width=13 height=16 alt="" align=top><dtml-else>&nbsp;&nbsp;</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>  
							<LI><A href="<dtml-var site_url >/search?subject=<dtml-var subject url_quote>&op=articles">  
							    Articles on <dtml-var subject></A>  
							<LI><A href="<dtml-var site_url >/search?author=<dtml-var author url_quote>&op=articles">  
							    Also by <dtml-var author></A>  
							<LI>Contact <A href="mailto:<dtml-var email >">author</A></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="<dtml-var site_url >/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>  
		<dtml-if attachment>  
		<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="<dtml-var site_url >/Images/roundedge_img"   
    				 width=13 height=16 alt="" align=top><dtml-else>&nbsp;&nbsp;</dtml-if><FONT size=4   
				    color="<dtml-var color2>" face="arial,helvetica"><B>File Attachment</B></FONT> </TD>  
				<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>   
				</TR>  
			<TR>  
				<TD 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-in attachment>  
							<LI><A HREF="./<dtml-var file_name url_quote>">  
								 <IMG SRC="&dtml-site_url;/<dtml-var icon>" HEIGHT="16  
                              WIDTH="16" BORDER="0" ALT="Click to download attachment"></A>    
                          <A HREF="./<dtml-var file_name url_quote>"><dtml-var file_name></A><BR>   
                          <dtml-var file_kbytes>KB (<dtml-var file_bytes> bytes)<BR>  
                  </dtml-in attachment><BR></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="<dtml-var site_url >/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>  
</dtml-if>  
<!--end demarcation-->  
			</TD>  
		</TR>  
	<TR> <!-- 2nd row of main table -->  
		<TD colspan=2 align=center><TABLE width="97%" cellpadding=5 cellspacing=0 border=0>  
			<TR>  
				<TD align=center><FONT size=1>   
				   <B>The Fine Print:</B> The following comments   
					   are owned by whoever posted them. </FONT><BR>  
					   ( <A href="addPostingForm">Reply</A> ) <BR>   
               </B></FONT><BR>  
				</TD>  
		</TR>   
<dtml-if reply_cnt>  
<dtml-call "REQUEST.set('replylevel',level+1)">  
<dtml-call "REQUEST.set('prevlevel',level)">  
<dtml-call "REQUEST.set('totcomments',reply_cnt)">  
<dtml-if "totcomments > comment_spillover">  
	<TR> <!-- 2nd row of main table -->  
		<TD align=center><FONT size=1>  
			<B> Over <dtml-var comment_spillover> comments listed.   
			Printing out index only.</B></FONT></TD>  
		</TR>  
</dtml-if>  
  
<!-- start of replies-->  
<dtml-in desc_items>  
	<dtml-if "level == replylevel">  
		<dtml-if "prevlevel > replylevel">  
				<dtml-var "dupString('</UL>',prevlevel - level)">  
			</TD></TR>  
		</dtml-if>  
	<TR> <!-- reply to main posting -->  
		<TD bgcolor="<dtml-var color4>"><A name="<dtml-var id>"><B><dtml-var title></B></A> <BR>  
			 by <A href="mailto:<dtml-var email >"><dtml-var author></A> on <dtml-var date_posted> <BR>  
			</TD>  
		</TR>   
	<TR>   
		<TD><dtml-var showBody><BR>  
			<dtml-with "_.namespace(file_id=_['id'])">  
			<dtml-if attachment>  
				<dtml-in attachment>  
			<A HREF="<dtml-var site_url ><dtml-var thread_path>/<dtml-var file_id>/<dtml-var file_name url_quote>">  
				<IMG SRC="&dtml-site_url;/<dtml-var icon>" HEIGHT="16  
 					  WIDTH="16" BORDER="0" ALT="Click to download attachment"></A>    
			<A HREF="<dtml-var site_url ><dtml-var thread_path>/<dtml-var file_id>/<dtml-var file_name url_quote>">  
			<dtml-var file_name></A><BR>   
			<dtml-var file_kbytes>KB (<dtml-var file_bytes> bytes)<BR>  
				</dtml-in attachment><BR>  
			</dtml-if>  
			</dtml-with>  
			</TD>   
		</TR>   
	<TR>  
		<TD><FONT SIZE=2> [ <A href="<dtml-var site_url ><dtml-var thread_path>/<dtml-var id>/addPostingForm">  
		    Reply to this</A> ]<BR> </font></TD>  
		</TR>   
		<dtml-call "REQUEST.set('prevlevel',level)">  
	<dtml-else>  
		<dtml-if "prevlevel == replylevel">  
	<TR>  
		<TD align=left>  
		</dtml-if>  
		<dtml-if "level > prevlevel">  
			<UL>  
		<dtml-elif "level < prevlevel">  
			<dtml-var "dupString('</UL>',prevlevel - level)">  
		</dtml-if>  
		<dtml-if "totcomments <= comment_spillover">  
			<LI><TABLE  cellspacing=1 cellpadding=5 border=0>  
				<TR>  
					<TD bgcolor="<dtml-var color4>"><B><dtml-var title></B><BR>   
						 by <A href="mailto:<dtml-var email >"><dtml-var author></A> on <dtml-var date_posted><br>  
						</TD></TR>  
				<TR>  
					<TD>  
						<dtml-var showBody><BR>  
						<dtml-with "_.namespace(file_id=_['id'])">  
						<dtml-if attachment>  
							<dtml-in attachment>  
						<A HREF="<dtml-var site_url ><dtml-var thread_path >/<dtml-var file_id >/<dtml-var file_name url_quote>">  
						<IMG SRC="&dtml-site_url;/<dtml-var icon>" HEIGHT="16  
 							  WIDTH="16" BORDER="0" ALT="Click to download attachment"></A>    
						<A HREF="<dtml-var site_url ><dtml-var thread_path >/<dtml-var file_id >/<dtml-var file_name url_quote>">  
						<dtml-var file_name></A><BR>   
						<dtml-var file_kbytes>KB (<dtml-var file_bytes> bytes)<BR>  
							</dtml-in attachment><BR>  
						</dtml-if>  
						</dtml-with>  
						</TD>  
					</TR>  
				<TR>  
					<TD><font size=2> [ <A href="<dtml-var site_url ><dtml-var thread_path >/<dtml-var id >/addPostingForm">  
					    Reply to this</A> ]</FONT><BR>   
						</TD>  
					</TR>   
				</TABLE></LI>   
		<dtml-else>  
			<LI><A href="<dtml-var site_url ><dtml-var thread_path >/<dtml-var id >/index_html">  
			        <dtml-var title></a> by <A href="mailto:<dtml-var email >">  
					  <dtml-var author></A> on <dtml-var date_posted><br>  
				<dtml-with "_.namespace(file_id=_['id'])">  
				<dtml-if attachment>  
					<dtml-in attachment>  
				<A HREF="<dtml-var site_url ><dtml-var thread_path>/<dtml-var file_id>/<dtml-var file_name url_quote>">  
				<IMG SRC="&dtml-site_url;/<dtml-var icon>" HEIGHT="16  
 					  WIDTH="16" BORDER="0" ALT="Click to download attachment"></A>    
				<A HREF="<dtml-var site_url ><dtml-var thread_path>/<dtml-var file_id>/<dtml-var file_name url_quote>">  
				<dtml-var file_name></A><BR>   
				<dtml-var file_kbytes>KB (<dtml-var file_bytes> bytes)<BR>  
					</dtml-in attachment><BR>  
				</dtml-if>  
				</dtml-with>  
				</LI>   
		</dtml-if>  
		<dtml-call "REQUEST.set('prevlevel',level)">  
	</dtml-if>   
</dtml-in desc_items>  
<dtml-if "prevlevel > replylevel">  
			<dtml-var "dupString('</UL>',prevlevel - level -1)">  
			<BR>&nbsp;  
			</TD>  
		</TR>  
</dtml-if>  
	<TR>  
		<TD align=center><FONT size=1> <B>The Fine Print:</B> The following   
		    	 comments are owned by whoever posted them. </FONT><BR>  
				 ( <A href="addPostingForm">Reply</A> )</B></FONT> <BR><BR>  
				</TD>  
		</TR>   
</dtml-if reply_cnt>  
	</TABLE>  
</TD>  
</TR></FONT>  
</TD>  
</TR>  
</TABLE>  
  
<dtml-var site_footer>