first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / templates-dist / producer / openposting.template
index a359255..577490d 100755 (executable)
                         <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]["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> 
+                      <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> 
                          ${i.description}</p>
                         <p align="right">[<a href="${config.docroot}${i.publish_path}${i.id}.shtml">read</a>]</p>
                       </td>