<html>
<head>
-<title>mir.indymedia.de: ${title}</title>
+<title>mir.indymedia.de: ${content.title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/style/mir.css" type="text/css">
- <list to_media_content as media>
-<meta name="keywords" content="${media["type"]}"></meta>
- </list>
+ <if content.to_media_images>
+ <meta name="keywords" content="images"></meta>
+ </if>
+ <if content.to_media_audio>
+ <meta name="keywords" content="audio"></meta>
+ </if>
+ <if content.to_media_video>
+ <meta name="keywords" content="video"></meta>
+ </if>
+ <if content.to_media_other>
+ <meta name="keywords" content="other"></meta>
+ </if>
</head>
<body bgcolor="#CCCCCC">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
- <h2>${title}</h2>
- <h4><i>${creator}, ${webdb_create_formatted}</i></h4>
- <p><b>${description}</b>
+ <h2>${content.title}</h2>
+ <h4><i>${content.creator}, ${content.webdb_create_formatted}</i></h4>
+ <p><b>${content.description}</b>
<!-- media -->
- ${to_media_audio[0]["url"]}
- <foreach media in to_media_audio>
- <p> AU
+ <list content.to_media_audio as media>
+ <p>
${media["url"]}
</p>
- </foreach>
- <list to_media_video as media>
- <p> V
- <if media && media["is_published"]=="1">
+ </list>
+ <list content.to_media_video as media>
+ <p>
${media["url"]}
- </if>
</p>
</list>
- <list to_media_other as media>
- <p> O
- <if media && media["is_published"]=="1">
+ <list content.to_media_other as media>
+ <p>
${media["url"]}
- </if>
</p>
</list>
- <list to_media_images as media>
+ <list content.to_media_images as media>
<p> I
- <if media && media["is_published"]=="1">
${media["url"]}
- </if>
</p>
</list>
<!-- media -->
- <p>${content_data}</p>
- <if creator_main_url || creator_email>
+ <p>${content.content_data}</p>
+ <if content.creator_main_url || content.creator_email>
<table width="100%" bgcolor="#FFFFFF">
<tr>
<td>
<font size="-1">
- <if creator_email>
- <img src="/images/mail_small.gif" width="12" height="10" border="0" alt="-"> eMail: <a href="mailto:${creator_email}">${creator_email}</a><br>
+ <if content.creator_email>
+ <img src="/images/mail_small.gif" width="12" height="10" border="0" alt="-"> eMail: <a href="mailto:${content.creator_email}">${content.creator_email}</a><br>
</if>
- <if creator_main_url>
- <img src="/images/link_small.gif" width="12" height="10" border="0" alt=""> Homepage: <a href="${creator_main_url}" target="extern">${creator_main_url}</a><br>
+ <if content.creator_main_url>
+ <img src="/images/link_small.gif" width="12" height="10" border="0" alt=""> Homepage: <a href="${content.creator_main_url}" target="extern">${content.creator_main_url}</a><br>
</if>
</font>
</td>
</tr>
<tr><td> </td></tr>
<tr>
- <td><a href="${config.openaction}?do=addcomment&aid=${id}">
+ <td><a href="${config.openaction}?do=addcomment&aid=${content.id}">
Make a quick comment on this article</a>
</td>
</tr>
- <if comments>
- <list comments as c>
+ <if content.to_comments>
+ <list content.to_comments as c>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<h3>${i.title}</h3>
<h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
<p>
- <if i.to_media_audio && i.to_media_audio[0]["is_published"]=="1">
- ${i.to_media_audio[0]["list"]}
+ <assign audio = i.to_media_audio>
+ <assign video = i.to_media_video>
+ <assign images = i.to_media_images>
+ <assign other = i.to_media_other>
+ <if audio && audio[0]["is_published"]=="1">
+ ${audio[0]["list"]}
</if>
- <if i.to_media_video && i.to_media_video[0]["is_published"]=="1">
- ${i.to_media_video[0]["list"]}
+ <if video && video[0]["is_published"]=="1">
+ ${video[0]["list"]}
</if>
- <if i.to_media_other && i.to_media_other[0]["is_published"]=="1">
- ${i.to_media_other[0]["list"]}
+ <if other && other[0]["is_published"]=="1">
+ ${other[0]["list"]}
</if>
<p>
- <if i.to_media_images && i.to_media_images[0]["is_published"]=="1">
- ${i.to_media_images[0]["list"]}
+ <if images && images[0]["is_published"]=="1">
+ ${images[0]["list"]}
</if>
${i.description}</p>
<p align="right">[<a href="${config.docroot}${i.publish_path}${i.id}.shtml">read</a>]</p>