2 Template file for an article.
5 <include "routines.template">
9 <title>${lang("article.htmltitle.prefix")}${article.title}</title>
10 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
11 <link rel="stylesheet" href="/${pathprefix}/style.css" type="text/css">
13 <if article.to_media_images>
14 <meta name="keywords" content="images"></meta>
16 <if article.to_media_audio>
17 <meta name="keywords" content="audio"></meta>
19 <if article.to_media_video>
20 <meta name="keywords" content="video"></meta>
22 <if article.to_media_other>
23 <meta name="keywords" content="other"></meta>
27 <body bgcolor="#CCCCCC">
28 <table width="760" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000000">
29 <tr bgcolor="#FFFFFF">
30 <td valign="top" align="left" width="150" bgcolor="#666666">
31 <table width="150" border="0" cellspacing="0" cellpadding="0">
34 <a href="${config["Producer.DocRoot"]}/${pathprefix}">
35 <img src="/images/mirlogo.jpg" width="150" height="205" border="0">
40 <td width="140" bgcolor="#666666">
41 <table width="100%" border="0" cellspacing="2" cellpadding="0">
44 <!--#include virtual="../../navigation.inc" -->
52 <td align="left" valign="top" colspan="2" height="100%">
53 <table width="100%" border="0" cellspacing="0" cellpadding="0">
56 <table width="100%" border="0" cellspacing="0" cellpadding="0">
58 <td><img src="/images/mirfont.gif" width="600" height="68"></td>
63 <tr bgcolor="#000000">
64 <td height="1"><img src="images/1pixel.gif" width="1" height="1"></td>
67 <td align="left" valign="top">
68 <table width="100%" border="0" cellpadding="0" cellspacing="2" height="100%">
70 <td width="100%" valign="top">
71 <table width="100%" border="0" cellspacing="0" cellpadding="0">
72 <if config.generateFO=="yes">
73 <tr><td align="right">
74 <if config.generatePDF=="yes">
75 <a href="${article.id}.pdf">Print this article</a>
77 <a href="${config["Producer.OpenAction"]}?do=getpdf&id=${article.id}">Print this article</a>
84 <h2>${article.title}</h2>
85 <h4><i>${article.creator}, ${article.creationdate.formatted["dd.MM.yyyy HH:mm"]}</i></h4>
86 <p><b>${article.description_parsed}</b>
90 <call showArticleMedia(article)>
93 <list article.to_media_audio as media>
97 <a href="${media["publish_server"]}${media["publish_path"]}">
98 ${media["title"]} - ${media["descr"]}
102 <list article.to_media_video as media>
104 <img src="/img/${media["big_icon"]}" border="0" alt="">
105 <a href="${media["publish_server"]}${media["publish_path"]}">
106 ${media["title"]} - ${media["descr"]}</a>
109 <list article.content.to_media_other as media>
111 <img src="/img/${media["big_icon"]}" border="0" alt="">
112 <a href="${media["publish_server"]}${media["publish_path"]}">
113 ${media["title"]} - ${media["descr"]}</a>
117 <list article.content.to_media_images as image>
119 <img src="${image["publish_server"]}${image["publish_path"]}"
120 border="0" width="${image["img_width"]}"
121 height="${image["img_height"]}" alt="${image["title"]}">
122 <br><i>${image["title"]}</i>
129 <p>${article.content_data_parsed}</p>
130 <if article.creator_main_url || article.creator_email>
131 <table width="100%" bgcolor="#FFFFFF">
135 <if content.creator_email>
136 <img src="/images/mail_small.gif" width="12" height="10" border="0" alt="-"> ${lang("producer.content.email")}: <a href="mailto:${article.content.creator_email}">${article.content.creator_email}</a><br>
138 <if content.creator_main_url>
139 <img src="/images/link_small.gif" width="12" height="10" border="0" alt=""> ${lang("producer.content.homepage")}: <a href="${article.content.creator_main_url}" target="extern">${article.content.creator_main_url}</a><br>
148 <tr><td> </td></tr>
151 <call showAddCommentLink(article, lang("article.addcomment"), language)>
154 <if article.to_comments>
155 <list article.to_comments as c>
158 <table width="100%" border="0" cellspacing="0" cellpadding="4">
159 <tr bgcolor="#cccccc">
160 <td><b><call showSafeText(c.title)></b></td>
161 <td align="right"><i>${c.creationdate.formated["dd.MM.yyyy HH:mm"]}</i></td>
164 <td colspan="2"><br>${c.description_parsed}</td>
166 <if c.email || c.main_url || c.address || c.phone || c.creator>
168 <td bgcolor="#cccccc" colspan="2">
169 <if c.creator><b><call showSafeText(c.creator)></b></if>
172 <img src="/images/mail_small.gif" width="12" height="10" border="0" alt="">${lang("article.email")}: <a href="mailto:${utility.encodeHTML(c.email)}"><call showSafeText(c.email)></a>
176 <img src="/images/link_small.gif" width="12" height="10" border="0" alt="">
177 ${lang("article.homepage")}: <a href="${utility.encodeHTML(c.main_url)}" target="_blank"><call showSafeText(c.email)></a>
185 <tr><td> </td></tr>