projects
/
nyc.indymedia.org.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug fixes for links to indymedia.org.uk for publishing and admin and links to css...
[nyc.indymedia.org.git]
/
etc
/
producer
/
startpage.template
diff --git
a/etc/producer/startpage.template
b/etc/producer/startpage.template
index
6342cef
..
c9d124c
100755
(executable)
--- a/
etc/producer/startpage.template
+++ b/
etc/producer/startpage.template
@@
-1,9
+1,4
@@
-<comment>
\r
- Template file for the front page.
\r
- - all paths relative to /
\r
- - no complicated freemarker code
\r
-</comment><!DOCTYPE HTML PUBLIC
\r
- "-//W3C//DTD HTML 4.01 Transitional//EN"
\r
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
\r
"http://www.w3.org/TR/html4/loose.dtd">
\r
<html>
\r
<head>
\r
"http://www.w3.org/TR/html4/loose.dtd">
\r
<html>
\r
<head>
\r
@@
-78,6
+73,9
@@
<comment>
\r
end features
\r
</comment>
\r
<comment>
\r
end features
\r
</comment>
\r
+ <p class="archive">
\r
+ <a href="/${language.code}/feature/archive.html">${lang("general.archive")}</a>
\r
+ </p>
\r
\r
<!--
\r
end featured articles
\r
\r
<!--
\r
end featured articles
\r
@@
-127,18
+125,16
@@
<else>
\r
<assign s=ss>
\r
</if>
\r
<else>
\r
<assign s=ss>
\r
</if>
\r
-
\r
- <if s.to_media_images >
\r
- <table class="imageWrap" cellspacing="0">
\r
+ <if ssimagepath>
\r
+ <table class="imageWrap" cellspacing="0">
\r
<tr>
\r
<tr>
\r
- <td class="image" style="background: url(
/images/${s.to_media_images[0]["publish_path"]
}) no-repeat top center;"><br /></td>
\r
+ <td class="image" style="background: url(
${ssimagepath
}) no-repeat top center;"><br /></td>
\r
</tr>
\r
<tr>
\r
</tr>
\r
<tr>
\r
- <td><small>${s
.to_media_images[0]["title"]
}</small></td>
\r
+ <td><small>${s
stitle
}</small></td>
\r
</tr>
\r
</tr>
\r
- </table>
\r
- </if>
\r
-
\r
+ </table>
\r
+ </if>
\r
<p class="title">
\r
<b><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html">${s.title}</a></b>
\r
</p>
\r
<p class="title">
\r
<b><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html">${s.title}</a></b>
\r
</p>
\r
@@
-190,9
+186,15
@@
\r
<div class="listWrap">
\r
\r
\r
<div class="listWrap">
\r
\r
+ <p class="alert">
\r
+ <b>Notice:</b>
\r
+ This is a beta site. Limited features only until upgrade is complete.
\r
+ <a href="http://nyc.indymedia.org/en/static/beta.html" class="readMore">${lang("general.readmore")}</a>
\r
+ </p>
\r
+
\r
<div class="newswireWrap">
\r
<b><a href="/${language.code}/">Newswire</a> | <a href="?category">Blogwire</a> |
\r
<div class="newswireWrap">
\r
<b><a href="/${language.code}/">Newswire</a> | <a href="?category">Blogwire</a> |
\r
- <a href="https://
nyc.traven.indymedia.org.uk
/nyc/servlet/OpenMir">publish</a></b>
\r
+ <a href="https://
publish.nyc.indymedia.org
/nyc/servlet/OpenMir">publish</a></b>
\r
</div>
\r
<comment>
\r
<!-- #if expr="\"$DOCUMENT_URI\" = /?category/"
\r
</div>
\r
<comment>
\r
<!-- #if expr="\"$DOCUMENT_URI\" = /?category/"
\r