first cut of merge of STABLE-pre1_0 into HEAD. I won't even guarantee that it
[mir.git] / templates-dist / producer / startpage.template
index 3a44bb0..d5f4bc7 100755 (executable)
                         <h4><i>${s.creator}, ${s.webdb_create_formatted}</i></h4>
                         <p>                     
                         <if s.to_media_audio && s.to_media_audio[0]["is_published"]=="1"> 
-                          ${s.to_media_audio[0]["url"]}
+                          ${s.to_media_audio[0]["list"]}
                         </if> 
                         <if s.to_media_video && s.to_media_video[0]["is_published"]=="1"> 
-                          ${s.to_media_video[0]["url"]}
+                          ${s.to_media_video[0]["list"]}
                         </if> 
                         <if s.to_media_other && s.to_media_other[0]["is_published"]=="1"> 
-                          ${s.to_media_other[0]["url"]}
+                          ${s.to_media_other[0]["list"]}
                         </if> 
                         <p>
                         <if s.to_media_images && s.to_media_images[0]["is_published"]=="1"> 
-                          ${s.to_media_images[0]["url"]}
+                          ${s.to_media_images[0]["list"]}
                         </if> 
                        ${s.description} </p>
                         <p align="right">[<a href="${config.docroot}${s.publish_path}${s.id}.shtml">read</a>]</p>
                         <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"]}
+                          ${i.to_media_audio[0]["list"]}
                         </if> 
                         <if i.to_media_video && i.to_media_video[0]["is_published"]=="1"> 
-                          ${i.to_media_video[0]["url"]}
+                          ${i.to_media_video[0]["list"]}
                         </if> 
                         <if i.to_media_other && i.to_media_other[0]["is_published"]=="1"> 
-                          ${i.to_media_other[0]["url"]}
+                          ${i.to_media_other[0]["list"]}
                         </if> 
                         <p>
                         <if i.to_media_images && i.to_media_images[0]["is_published"]=="1"> 
-                          ${i.to_media_images[0]["url"]}
+                          ${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>
                  <!-- newswire --> 
                   <p> 
                    <list newswire as n>
-                   <img alt=${n.icon_alt} border="0" height="10"
-src="${n.tiny_icon}" width="12"> 
+                   <img alt=${n.to_media_icon["icon_alt"]} border="0" height="10"
+src="${n.to_media_icon["tiny_icon"]}" width="12"> 
                     <a href="${config.docroot}${n.publish_path}${n.id}.shtml"><b>${n.title}</b></a><br>
                     <font size="-2"><b></b>${n.webdb_create_formatted}</font><br>
                     <br>