took out publish_path because it doesn't exist for content only for media
[nyc.indymedia.org.git] / etc / producer / topicpage.template
1 <!DOCTYPE HTML PUBLIC 
2    "-//W3C//DTD HTML 4.01 Transitional//EN" 
3    "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6    <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
7    <title>${config["Mir.Name"]} | ${topic.title}</title>
8    <meta name="keywords" content="${lang("general.keywords")}">
9    <meta name="description" content="${topic.description}">
10    <meta name="dc:title" content="${topic.title}">
11    <meta name="dc:creator" content="">
12    <meta name="dc:subject" content="${topic.title}">
13    <meta name="dc:description" content="${topic.title}">
14    <meta name="dc:publisher" content="">
15    <meta name="dc:date" content="${config.now.formatted.dc}">
16    <meta name="dc:language" content="${language.code}">
17    <meta name="dc:coverage" content="">
18    <meta name="dc:rights" content="">
19    <meta http-equiv="expires" content="599">
20    <meta http-equiv="pragma" content="no-cache">
21    <link rel="stylesheet" type="text/css" href="http://sarai.indymedia.org/~patrick/mir.nyc/css/main.css" />
22
23 </head>
24
25 <body class="interior" class="topicPage">
26
27 <!--#include virtual="/${language.code}/navigation.html" -->
28
29          <p class="pageTitle">
30             ${topic.title}
31          </p>
32          <div class="featuredArticles">
33
34          <!-- begin topic special -->
35          <if (batch.current.index==batch.first.index)>
36             <list special as ss>
37                <assign sorig=ss.to_original>
38                <if languagepreference>
39                   <assign s=ss.to_translation(languagepreference)>
40                <else>
41                   <assign s=ss>
42                </if>
43          
44             <p class="title">
45                <b><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html">${s.title}</a></b>
46             </p>
47             <p class="summary">
48                <small class="author">${sorig.creator}<if sorig.id!=s.id>(${lang("general.translatedby", s.creator)})</if>&#160;|</small> ${s.description_parsed}
49                <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html" class="readMore">${lang("general.readmore")}</a>&#160; 
50                <span class="comments">${s.commentcount}&#160;Comments</span></small>
51             </p>
52
53             </list>
54          </if>
55          <!-- end topic-special -->
56          
57          <!-- begin articles -->
58          <list articles as a>
59             <assign aorig=a.to_original>
60             <if languagepreference>
61                <assign i=a.to_translation(languagepreference)>
62             <else>
63                <assign i=a>
64             </if>
65
66             <p class="title">
67                <b><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.html">${i.title}</a></b>
68             </p>
69             <p class="summary">
70                <small class="author">${aorig.creator}<if aorig.id!=i.id>(${lang("general.translatedby", i.creator)})</if>&#160;|</small> ${i.description_parsed}
71                <small><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.html" class="readMore">${lang("general.readmore")}</a>&#160; 
72                <span class="comments">${i.commentcount}&#160;Comments</span></small>
73             </p>
74          </list>
75          <!-- end articles -->
76          
77          <!-- begin next/previous -->
78          <if batch.current.index!=batch.first.index>
79             <a href="${docPrefix}${batch.previous.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.previous.index}</a>
80          </if>
81          <if batch.current.index!=batch.first.index && batch.current.index!=batch.last.index>
82             |
83          </if>
84          <if batch.next>
85             <a href="${docPrefix}${batch.next.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.next.index}</a>
86          </if>
87          <!-- end next/previous -->
88          
89          <!--#include virtual="${docPrefix}nav${docSuffix}" -->
90
91          </div>
92
93       <!-- 
94       end center column
95       --></td>
96       <td class="margin"><div><!-- --></div></td>
97       <td class="rightColumn"><!-- 
98       begin right column
99       --><div class="wrap">
100
101       <div class="listWrap">
102
103          <ul class="newswire">
104             <list newswire as nn>
105                <assign norig=nn.to_original>
106                <if languagepreference>
107                   <assign n=nn.to_translation(languagepreference)>
108                <else>
109                   <assign n=nn>
110                </if>
111                <if n.to_original.to_article_type==articletype.newswire>
112                   <li>
113                      <p class="title">
114                         <img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/video.666.gif" class="icon" width="10" height="8" alt="" />
115                         <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.html"
116                      </p>
117                      <p class="datestamp">
118                         ${n.date.formatted.MMM} ${n.date.formatted.dd}th,
119                         <span class="comments">${n.commentcount} Comments</span>
120                      </p>
121                   </li>
122                </if>
123             </list>
124          </ul>
125
126       </div><!-- 
127       end right column
128       --></td>
129       <td class="margin"><div><!-- --></div></td>
130    </tr>
131 </table>
132
133 <!--#include virtual="/${language.code}/footer.html" -->
134