projects
/
nyc.indymedia.org.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7bc711a
)
changed include in article and topicpage, changed link in topiccount
author
mtopper
<mtopper>
Sun, 31 Jul 2005 03:52:11 +0000
(
03:52
+0000)
committer
mtopper
<mtopper>
Sun, 31 Jul 2005 03:52:11 +0000
(
03:52
+0000)
etc/producer/article.template
patch
|
blob
|
history
etc/producer/producers.xml
patch
|
blob
|
history
etc/producer/topiccount.template
patch
|
blob
|
history
etc/producer/topicpage.template
patch
|
blob
|
history
diff --git
a/etc/producer/article.template
b/etc/producer/article.template
index
e08409b
..
8e9ad02
100755
(executable)
--- a/
etc/producer/article.template
+++ b/
etc/producer/article.template
@@
-68,7
+68,7
@@
<body class="interior">
<!--<include "navigation.template">-->
<body class="interior">
<!--<include "navigation.template">-->
-<!--#include virtual="/${language.code}/navigation.
inc
" -->
+<!--#include virtual="/${language.code}/navigation.
html
" -->
<!--#include virtual="/languagebar/${article.to_original.date.formatted.yyyy}/${article.to_original.date.formatted.MM}/${article.to_original.id}.html"-->
<!--#include virtual="/languagebar/${article.to_original.date.formatted.yyyy}/${article.to_original.date.formatted.MM}/${article.to_original.id}.html"-->
diff --git
a/etc/producer/producers.xml
b/etc/producer/producers.xml
index
4d8f823
..
a99938d
100755
(executable)
--- a/
etc/producer/producers.xml
+++ b/
etc/producer/producers.xml
@@
-764,13
+764,14
@@
<verb name="doit" />
</verbs>
<body>
<verb name="doit" />
</verbs>
<body>
- <FreeQuery key="topicCounts" query=" SELECT count(x.content_id) as count, t.title FROM topic as t LEFT OUTER JOIN content_x_topic
+ <FreeQuery key="topicCounts" query=" SELECT count(x.content_id) as count, t.title
, t.filename
FROM topic as t LEFT OUTER JOIN content_x_topic
as x ON (t.id=x.topic_id) LEFT OUTER JOIN content as c ON (c.id=x.content_id)
WHERE t.archiv_url = 'Category' GROUP BY t.title ORDER BY length(t.title)"
type="set"/>
as x ON (t.id=x.topic_id) LEFT OUTER JOIN content as c ON (c.id=x.content_id)
WHERE t.archiv_url = 'Category' GROUP BY t.title ORDER BY length(t.title)"
type="set"/>
-
+ <Language>
<Generate generator="/topiccount.template"
destination="${config.storageRoot}/${pathprefix}/topiccount.html" />
<Generate generator="/topiccount.template"
destination="${config.storageRoot}/${pathprefix}/topiccount.html" />
+ </Language>
</body>
</producer>
</body>
</producer>
diff --git
a/etc/producer/topiccount.template
b/etc/producer/topiccount.template
index
81da5fe
..
167a6fc
100755
(executable)
--- a/
etc/producer/topiccount.template
+++ b/
etc/producer/topiccount.template
@@
-1,7
+1,7
@@
<table id="topicCount" cellspacing="0">
<list topicCounts as tc><tr>
<td class="count"><p>${tc.count}</p></td>
<table id="topicCount" cellspacing="0">
<list topicCounts as tc><tr>
<td class="count"><p>${tc.count}</p></td>
- <td class="topic"><p><a href="
#
">${tc.title}</a></p></td>
+ <td class="topic"><p><a href="
${config["Producer.DocRoot"]}/${language.code}/${tc.filename}/archive.html
">${tc.title}</a></p></td>
</tr></list>
</table>
<script language="JavaScript 1.2" type="text/javascript">
</tr></list>
</table>
<script language="JavaScript 1.2" type="text/javascript">
diff --git
a/etc/producer/topicpage.template
b/etc/producer/topicpage.template
index
015438f
..
f1bea04
100755
(executable)
--- a/
etc/producer/topicpage.template
+++ b/
etc/producer/topicpage.template
@@
-22,7
+22,7
@@
<body class="interior">
<body class="interior">
-<!--#include virtual="/${language.code}/navigation.
inc
" -->
+<!--#include virtual="/${language.code}/navigation.
html
" -->
<!--- topic-special ---> <comment></comment>
<if (batch.current.index==batch.first.index)>
<!--- topic-special ---> <comment></comment>
<if (batch.current.index==batch.first.index)>