File: Squishdot_index_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 (94 lines) | stat: -rw-r--r-- 3,150 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
<dtml-comment >  
<!-- version : $Revision: 1.4 $  
     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>  
<H2><dtml-var title></H2>  
<P>  
<TABLE BORDER="1">  
<TR>  
<dtml-if parentObject>  
<dtml-in parentObject>  
<dtml-if sequence-var-index_html>  
<TD BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="TOP">  
<A HREF="../index_html">Return  
to <dtml-if title><dtml-var title><dtml-else title><dtml-var id></dtml-if title>  
</A>  
</TD>  
</dtml-if index_html>  
</dtml-in parentObject>  
</dtml-if parentObject>  
<TD BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="TOP">  
<A HREF="./addPostingForm">Post article</A>  
</TD>  
<TD BGCOLOR="#EFEFEF" ALIGN="LEFT" VALIGN="TOP">  
<A HREF="./searchForm">Search</A>  
</TD>  
</TR>  
</TABLE>  
<P>  
<dtml-if has_items>  
<dtml-if moderated>  
<dtml-in item_list>  
<dtml-if reviewed>  
<dtml-if "meta_type == 'Article'">  
<dtml-call expr="REQUEST.set('currsubj',_['subject'])">  
<dtml-with "PARENTS[0]">  
<dtml-if "subject_image(_['currsubj'])"><img src="<dtml-var site_url>/<dtml-var "subject_image(_['currsubj'])" url_quote>" ALIGN="LEFT"   
 ALT="<dtml-var currsubj>"></dtml-if>  
</dtml-with>  
</dtml-if>  
<STRONG><dtml-var title></STRONG><BR>  
<EM><dtml-var date_posted> by <dtml-var author></EM> <BR>  
<dtml-if "meta_type == 'Article'">  
<dtml-if dept>  
<STRONG><EMPHASIS><FONT size=-2> from the <dtml-var dept> dept. </FONT></EMPHASIS></STRONG><BR>  
</dtml-if dept>  
<dtml-var showSummary>
<BR>
</dtml-if metatype>  
<A HREF="<dtml-var URL1 ><dtml-var thread_path >/<dtml-var id >/index_html"><STRONG> Read More </STRONG></A>  
<dtml-if "reply_cnt > 1"> (<dtml-var reply_cnt> comments)  
<dtml-elif reply_cnt> (<dtml-var reply_cnt> comment)  
</dtml-if>  
<BR><BR>  
</dtml-if reviewed>  
</dtml-in item_list >  
<dtml-else moderated>  
<dtml-in item_list>  
<dtml-if "meta_type == 'Article'">  
<dtml-call expr="REQUEST.set('currsubj',_['subject'])">  
<dtml-with "PARENTS[0]">  
<dtml-if "subject_image(_['currsubj'])"><img src="<dtml-var site_url >/<dtml-var "subject_image(_['currsubj'])" url_quote>" ALIGN="LEFT"   
 ALT="<dtml-var currsubj>"></dtml-if>  
</dtml-with>  
</dtml-if>  
<STRONG><dtml-var title></STRONG><BR>  
<EM><dtml-var date_posted> by <dtml-var author></EM><BR>  
<dtml-if "meta_type == 'Article'">  
<dtml-if dept>  
<STRONG><EMPHASIS><FONT size=-2> from the <dtml-var dept> dept. </FONT></EMPHASIS></STRONG><BR>  
</dtml-if dept>  
<dtml-var showSummary>
<BR>
</dtml-if metatype>  
<A HREF="<dtml-var URL1 ><dtml-var thread_path >/<dtml-var id >/index_html"><STRONG> Read More </STRONG></A>  
<dtml-if "reply_cnt > 1"> (<dtml-var reply_cnt> comments)  
<dtml-elif reply_cnt> (<dtml-var reply_cnt> comment)  
</dtml-if>  
<BR><BR>  
</dtml-in item_list>  
</dtml-if moderated>  
</dtml-if has_items>  
<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>