a basic README file w/ contact info
[mir.git] / templates-dist / producer / openposting.template
index 577490d..595f9cc 100755 (executable)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>mir.indymedia.de: ${topic.title}</title>
+<title>${lang("producer.openposting.htmltitle")}${topic.title}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="stylesheet" href="/style/mir.css" type="text/css">
 </head>
@@ -12,7 +12,7 @@
       <table width="150" border="0" cellspacing="0" cellpadding="0">
         <tr> 
           <td width="140">
-             <a href="${config.productionhost}${config.docroot}">
+             <a href="${config.productionHost}${config.producerDocRoot}">
              <img src="images/mirlogo.jpg" width="150" height="205" border="0">
              </a>
           </td>
@@ -22,7 +22,7 @@
             <table width="100%" border="0" cellspacing="2" cellpadding="0">
               <tr> 
                 <td> 
-                <!--# include virtual="navigation.inc" -->
+                <!--#include virtual="navigation.inc" -->
                 </td>
               </tr>
             </table>
               <tr> 
                 <td width="100%" valign="top"> 
                   <!--- articles ---> 
-                  <list contentlist as i> 
+                  <list data.contentlist as i> 
                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr> 
                       <td> 
                         <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]["list"]}
-                      </if> 
-                                 <if i.to_media_video > 
-                          ${i.to_media_video[0]["list"]}
-                      </if> 
-                                 <if i.to_media_other > 
-                          ${i.to_media_other[0]["list"]}
-                      </if> 
-                      <p>
-                                 <if i.to_media_images >
-                          ${i.to_media_images[0]["list"]}
-                      </if> 
+                        <if i.to_media_audio > 
+                          <img src="/img/${i.to_media_audio[0]["big_icon"]}">
+                        </if> 
+                        <if i.to_media_video > 
+                          <img src="/img/${i.to_media_video[0]["big_icon"]}">
+                        </if> 
+                        <if i.to_media_other > 
+                          <img src="/img/${i.to_media_other[0]["big_icon"]}">
+                        </if> 
+                        <p>
+                        <if i.to_media_images >
+                          <img 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"]}">
+                        </if> 
                          ${i.description}</p>
-                        <p align="right">[<a href="${config.docroot}${i.publish_path}${i.id}.shtml">read</a>]</p>
+                        <p align="right">[<a href="${config.producerDocRoot}${i.publish_path}${i.id}.shtml">read</a>]</p>
                       </td>
                     </tr>
                   </table>
@@ -80,6 +83,8 @@
                   </list> 
                   <!--- articles ---> 
                   </td>
+                 <if data.previousPage><a href="${data.previousPage}">${lang("producer.previous")}</a></if>
+                 <a href="${data.nextPage}">${lang("producer.next")}</a>
               </tr>
             </table>
           </td>