-<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
<title>${config["Mir.Name"]}</title>\r
- <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}"> \r
- <meta name="keywords" content="">\r
- <meta name="description" content="">\r
- <!-- <meta http-equiv="expires" content="599"> -->\r
- <meta http-equiv="pragma" content="no-cache">\r
- <link rel="stylesheet" type="text/css" href="http://sarai.indymedia.org/~patrick/mir.nyc/css/main.css" />\r
+ <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}" /> \r
+ <meta name="keywords" content="" />\r
+ <meta name="description" content="" />\r
+ <link rel="stylesheet" type="text/css" href="/css/main.css" />\r
\r
</head>\r
\r
begin breaking news\r
</comment>\r
<if breakingnews && breakingnews[0].text!=".">\r
- <p class="breakingNews">\r
- <b class="title">${lang("startpage.breakingnews")}</b>\r
+ <div class="breakingNews">\r
+ <p class="title">\r
+ <b>${lang("startpage.breakingnews")}</b>\r
+ </p>\r
<assign stop="0">\r
<list breakingnews as bn>\r
+ <div>\r
<if bn.text=="."><assign stop="1"></if>\r
<if stop=="0">\r
- ${bn.creationdate.formatted["dd-MM-yyyy HH:mm"]}:\r
- ${bn.text}\r
+ <p>\r
+ <span class="datestamp">${bn.creationdate.formatted["MMM dd hh:mm'<span>'a'</span>'"]}:</span>\r
+ ${bn.text}\r
+ </p>\r
</if>\r
+ </div>\r
</list>\r
- </p>\r
+ </div>\r
</if>\r
<comment>\r
end breaking news\r
<else>\r
<assign i=f>\r
</if>\r
- <p class="title">\r
+ <p class="headline">\r
<b><a\r
- href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" \r
+ href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.html" \r
>${i.title}</a></b>\r
</p>\r
<p class="summary">\r
<small class="author">${forig.creator} |</small>\r
- ${i.description_parsed}\r
- <small><span class="comments">${i.commentcount} Comment(s)</span>\r
- <a \r
- href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" \r
- class="readMore">more...<!-- ${lang("general.readmore")} --></a></small>\r
+ <span class="lead">${i.subtitle}</span>\r
+ <small><span class="comments">${i.commentcount} Comments</span>\r
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.html" class="readMore">${lang("general.readmore")}</a></small>\r
</p>\r
</list>\r
</div>\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
<list mostcomments as mc>\r
<div class="storyWrap"> \r
<p class="story">\r
- <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/zapatista.02.gif" class="icon" border="0" /></a>\r
+ <!-- placeholder image for now, need icon per meta-category -->\r
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${mc.date.formatted["yyyy'/'MM"]}/${mc.id}.html"><img src="/img/placeholder.mds.gif" class="icon" width="30" height="30" alt="Most discussed stories" /></a>\r
<span class="comments">${mc.commentcount} Comments</span>\r
- <a href="${config["Producer.DocRoot"]}/${language.code}/${mc.date.formatted["yyyy'/'MM"]}/${mc.id}.shtml">${mc.title}</a>\r
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${mc.date.formatted["yyyy'/'MM"]}/${mc.id}.html">${mc.title}</a>\r
</p>\r
</div>\r
</list>\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
- <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
- <td><small>${s.to_media_images[0]["title"]}</small></td>\r
+ <td><small>${sstitle}</small></td>\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}.shtml">${s.title}</a></b>\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="summary">\r
<small class="author">${s.creator} |</small> \r
${s.description_parsed}\r
- <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml" class="readMore">more...</a></small>\r
+ <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html" class="readMore">more...</a></small>\r
</p> \r
</list>\r
\r
<tr>\r
<td>\r
<div class="listWrap">\r
- <!--#include virtual="/fpincludes/random1.inc" -->\r
- <!--#include virtual="/fpincludes/random2.inc" -->\r
- <!--#include virtual="/fpincludes/random3.inc" -->\r
- <!--#include virtual="/fpincludes/random4.inc" -->\r
- <!--#include virtual="/fpincludes/random5.inc" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random1.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random2.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random3.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random4.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random5.html" -->\r
\r
</div>\r
</td>\r
<td class="margin"><div><!-- --></div></td>\r
<td>\r
<div class="listWrap">\r
- <!--#include virtual="/fpincludes/random6.inc" -->\r
- <!--#include virtual="/fpincludes/random7.inc" -->\r
- <!--#include virtual="/fpincludes/random8.inc" -->\r
- <!--#include virtual="/fpincludes/random9.inc" -->\r
- <!--#include virtual="/fpincludes/random10.inc" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random6.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random7.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random8.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random9.html" -->\r
+ <!--#include virtual="/${language.code}/randomcats/random10.html" -->\r
</div>\r
</td>\r
</tr>\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="#">Newswire</a></b><br />\r
- <a href="/${language.code}/">Local</a> |\r
- <a href="#">Global</a> |\r
- <a href="?category">Category</a>\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
</div>\r
+<comment>\r
<!-- #if expr="\"$DOCUMENT_URI\" = /?category/" \r
- --><!-- #include virtual="/${language.code}/languagebar.shtml"\r
+ --><!-- #include virtual="/${language.code}/languagebar.html"\r
--><!-- #else\r
- --><!-- #include virtual="/${language.code}/newswireinclude.shtml"\r
+ --><!-- #include virtual="/${language.code}/newswireinclude.html"\r
--><!-- #endif\r
-->\r
- <!-- <iframe name="shazbot" id="shazbot" src="/${language.code}/newswireinclude.shtml" frameborder="0" style="overflow: hidden;"></iframe> -->\r
-\r
+ <!-- <iframe name="shazbot" id="shazbot" src="/${language.code}/newswireinclude.html" frameborder="0" style="overflow: hidden;"></iframe> -->\r
+</comment>\r
<!--#if expr="\"$QUERY_STRING\" = /category/" -->\r
- <!--#include virtual="/${language.code}/rssnewswireinclude.shtml" -->\r
+ <!--#include virtual="/${language.code}/rssnewswireinclude.html" -->\r
<!--#else -->\r
<b><!--#echo var="QUERY_STRING" --></b>\r
- <!--#include virtual="/${language.code}/newswireinclude.shtml" --> \r
+ <!--#include virtual="/${language.code}/newswireinclude.html" --> \r
<!--#endif -->\r
\r
\r
</tr>\r
</table>\r
\r
-<!--#include virtual="footer.inc" -->\r
+<!--#include virtual="/${language.code}/footer.html" -->\r