<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
- <td bgcolor="#cc0033"><img src="/img/logo.gif" width="120" height="120" alt="((i))"></td>
- <td colspan="4" valign="top" background="/img/background2.jpg">
+ <td bgcolor="#cc0033"><img src="${config["Producer.DocRoot"]}/img/logo.gif" width="120" height="120" alt="((i))"></td>
+ <td colspan="4" valign="top" background="${config["Producer.DocRoot"]}/img/background2.jpg">
<table cellpadding="4" cellspacing="0" border="0" width="100%" bgcolor="#cc0033"><tr><td>
<font color="#dddddd" size="-1"><b>
<a href="${config["Producer.DocRoot"]}/${language.code}/static/mission.shtml"><font color="#dddddd">${lang("general.menu.missionStatement")} >></font></a>
<td rowspan="100"> </td>
<td width="100%"> </td>
<td rowspan="100"> </td>
- <td width="200"><img src="/img/space.gif" alt="" width="200" height="1"></td>
+ <td width="200"><img src="${config["Producer.DocRoot"]}/img/space.gif" alt="" width="200" height="1"></td>
</tr>
<tr>
</if>
<!-- /breaking news -->
- <!--- start-special ---> <comment></comment>
- <list startspecial as s>
- <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
+ <!--- start-special --->
+ <list startspecial as ss>
+ <assign sorig=ss.to_original>
+ <if languagepreference>
+ <assign s=ss.to_translation(languagepreference)>
+ <else>
+ <assign s=ss>
+ </if>
+
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
<p><font size="+2">
<a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
</font><br>
- <font size="-2">${s.creator}, ${s.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
+ <font size="-2">${sorig.creator} <if sorig.id!=s.id>(${lang("general.translatedby", s.creator)})</if><if s.creator || sorig.creator>, </if> ${sorig.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
<p><font size="-1">
- <if s.to_media_audio >
+ <if sorig.to_media_audio >
<img align="left" vspace="4" hspace="8"
- src="/img/${s.to_media_audio[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_audio[0]["big_icon"]}">
</if>
- <if s.to_media_video >
+ <if sorig.to_media_video >
<img align="left" vspace="4" hspace="8"
- src="/img/${s.to_media_video[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_video[0]["big_icon"]}">
</if>
- <if s.to_media_other >
+ <if sorig.to_media_other >
<img align="left" vspace="4" hspace="8"
- src="/img/${s.to_media_other[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_other[0]["big_icon"]}">
</if>
- <if s.to_media_images >
+ <if sorig.to_media_images >
<img align="left" vspace="4" hspace="8"
- src="${s.to_media_images[0]["icon_path"]}"
- width="${s.to_media_images[0]["icon_width"]}"
- height="${s.to_media_images[0]["icon_height"]}"
- border=0 alt="${s.to_media_images[0]["title"]}">
+ src="${sorig.to_media_images[0]["icon_path"]}"
+ width="${sorig.to_media_images[0]["icon_width"]}"
+ height="${sorig.to_media_images[0]["icon_height"]}"
+ border=0 alt="${sorig.to_media_images[0]["title"]}">
</if>
${s.description_parsed}
<br clear="all">
<!--- features ---> <comment></comment>
- <list features as i>
+ <list features as f>
+ <assign forig=f.to_original>
+ <if languagepreference>
+ <assign i=f.to_translation(languagepreference)>
+ <else>
+ <assign i=f>
+ </if>
+
<p><font size="+1">
<a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
</font><br>
- <font size="-2">${i.creator}, ${i.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
+ <font size="-2">${forig.creator} <if forig.id!=i.id>(${lang("general.translatedby", i.creator)})</if><if i.creator || forig.creator>, </if> ${forig.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
<p><font size="-1">
- <if i.to_media_audio >
+ <if forig.to_media_audio >
<img align="left" vspace="4" hspace="8"
- src="/img/${i.to_media_audio[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_audio[0]["big_icon"]}">
</if>
- <if i.to_media_video >
+ <if forig.to_media_video >
<img align="left" vspace="4" hspace="8"
- src="/img/${i.to_media_video[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_video[0]["big_icon"]}">
</if>
- <if i.to_media_other >
+ <if forig.to_media_other >
<img align="left" vspace="4" hspace="8"
- src="/img/${i.to_media_other[0]["big_icon"]}">
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_other[0]["big_icon"]}">
</if>
- <if i.to_media_images >
+ <if forig.to_media_images >
<img align="left" vspace="4" hspace="8"
- src="${i.to_media_images[0]["icon_path"]}"
- width="${i.to_media_images[0]["icon_width"]}"
- height="${i.to_media_images[0]["icon_height"]}"
- border=0 alt="${i.to_media_images[0]["title"]}">
+ src="${forig.to_media_images[0]["icon_path"]}"
+ width="${forig.to_media_images[0]["icon_width"]}"
+ height="${forig.to_media_images[0]["icon_height"]}"
+ border=0 alt="${forig.to_media_images[0]["title"]}">
</if>
${i.description_parsed}
<br clear="all">
<!-- newswire -->
<font size="-1">
- <list newswire as n>
- <img src="${n.to_media_icon.tiny_icon}" alt="${n.to_media_icon.icon_alt}" height="10" width="12">
+ <list newswire as nn>
+ <assign norig=nn.to_original>
+ <if languagepreference>
+ <assign n=nn.to_translation(languagepreference)>
+ <else>
+ <assign n=nn>
+ </if>
+
+
+ <img src="${norig.to_media_icon.tiny_icon}" alt="${norig.to_media_icon.icon_alt}" height="10" width="12">
<a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
<br>
<font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>