a new db-cache with max-load, not documented yet
[mir.git] / templates-dist / producer / openposting.template
index e2ea17f..a359255 100755 (executable)
                         <h3>${i.title}</h3>
                         <h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
                         <p>                     
-                         <if i.to_media && i.to_media[0]["is_published"]=="1"> 
-                          <img src="${i.to_media[0]["icon_path"]}" width="${i.to_media[0]["icon_width"]}" height="${i.to_media[0]["icon_height"]}" alt="" align="left" vspace="8" hspace="8"> 
-                          </if> 
+                                 <if i.to_media_audio && i.to_media_audio[0]["is_published"]=="1"> 
+                  ${i.to_media_audio[0]["url"]}
+                </if> 
+                                 <if i.to_media_video && i.to_media_video[0]["is_published"]=="1"> 
+                  ${i.to_media_video[0]["url"]}
+                </if> 
+                                 <if i.to_media_other && i.to_media_other[0]["is_published"]=="1"> 
+                  ${i.to_media_other[0]["url"]}
+                </if> 
+                <p>
+                                 <if i.to_media_images && i.to_media_images[0]["is_published"]=="1"> 
+                  ${i.to_media_images[0]["url"]}
+                </if> 
                          ${i.description}</p>
                         <p align="right">[<a href="${config.docroot}${i.publish_path}${i.id}.shtml">read</a>]</p>
                       </td>