mutlifile-upload in openmir
authoridfx <idfx>
Tue, 18 Sep 2001 17:46:17 +0000 (17:46 +0000)
committeridfx <idfx>
Tue, 18 Sep 2001 17:46:17 +0000 (17:46 +0000)
templates-dist/producer/topiclist.template

index 54f3090..7807e32 100755 (executable)
@@ -73,7 +73,7 @@
                       <td> 
                         <h3>${i.title}</h3>
                         <h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
-                        <p> <if i.to_media[0] && i.to_media[0]["is_published"]=="1"> 
+                        <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> ${i.description}</p>
                         <p align="right">[<a href="${producerDocRoot}${i.publish_path}${i.id}.shtml">read</a>]</p>