added media icons
authormtopper <mtopper>
Thu, 4 Aug 2005 15:15:43 +0000 (15:15 +0000)
committermtopper <mtopper>
Thu, 4 Aug 2005 15:15:43 +0000 (15:15 +0000)
etc/producer/newswireinclude.template

index dfa0e61..6f22344 100755 (executable)
@@ -9,7 +9,15 @@
                <if n.to_original.to_article_type==articletype.newswire>
                   <li>
                      <p class="title">
-                        <img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/video.666.gif" class="icon" width="10" height="8" alt="" />
+                               <if f.to_media_images >
+                              <img src="/img/photo_small.gif" class="icon" width="10" height="8" alt="" />
+                                               </if>
+                                        <if f.to_media_audio >
+                                      <img src="/img/audio_small.gif" class="icon" width="10" height="8" alt="" />
+                                               </if>
+                               <if f.to_media_video >
+                                                       <img src="/img/video_small.gif" class="icon" width="10" height="8" alt="" />
+                                               </if>
                         <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.html">${n.title}</a>
                      </p>
                      <p class="datestamp">