*** empty log message ***
authorpatrick <patrick>
Sun, 14 Aug 2005 21:23:33 +0000 (21:23 +0000)
committerpatrick <patrick>
Sun, 14 Aug 2005 21:23:33 +0000 (21:23 +0000)
etc/producer/newswirearchive.template

index 8437585..5da9778 100755 (executable)
                <else>
                   <assign i=a>
                </if>
                <else>
                   <assign i=a>
                </if>
+               <div class="spacer" style="clear: both;"><!-- --></div>
+               <if aorig.to_media_audio >
+                  <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_audio[0]["big_icon"]}" class="mediaThumbnail" />
+               </if>
+               <if aorig.to_media_video >
+                  <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_video[0]["big_icon"]}" class="mediaThumbnail" />
+               </if>
+               <if aorig.to_media_other >
+                  <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_other[0]["big_icon"]}" class="mediaThumbnail" />
+               </if>
+               <if aorig.to_media_images >
+                  <img src="${aorig.to_media_images[0]["icon_path"]}" width="${aorig.to_media_images[0]["icon_width"]}" height="${aorig.to_media_images[0]["icon_height"]}" class="thumbnail" alt="${aorig.to_media_images[0]["title"]}" />
+               </if>
+
                <p class="headline">
                   <b><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml">${i.title}</a></b>
                </p>
                <p class="summary">
                <p class="headline">
                   <b><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml">${i.title}</a></b>
                </p>
                <p class="summary">
-                  <small>
-                     <span class="datestamp">${aorig.creationdate.formatted["MMM d, yyyy, h:mm'<span>'a'</span>'"]}</span>
-                     <span class="comments">${i.commentcount} Comments</span><br />
-                  </small>
-
-                  <div class="mediaThumbnail">
-                     <if aorig.to_media_audio >
-                        <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_audio[0]["big_icon"]}" />
-                     </if>
-                     <if aorig.to_media_video >
-                        <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_video[0]["big_icon"]}" />
-                     </if>
-                     <if aorig.to_media_other >
-                        <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_other[0]["big_icon"]}" />
-                     </if>
-                     <if aorig.to_media_images >
-                        <img src="${aorig.to_media_images[0]["icon_path"]}" width="${aorig.to_media_images[0]["icon_width"]}" height="${aorig.to_media_images[0]["icon_height"]}" alt="${aorig.to_media_images[0]["title"]}" />
-                     </if>
-                  </div>
-
+                  <small class="datestamp">${aorig.creationdate.formatted["MMM d, yyyy, h:mm'<span>'a'</span>'"]}</small>
+                  <small class="comments">${i.commentcount} Comments</small><br />
                   <small class="author">${aorig.creator}&#160;|</small>
                   <span class="lead">${i.description_parsed}</span>
                   <small class="author">${aorig.creator}&#160;|</small>
                   <span class="lead">${i.description_parsed}</span>
-                  <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="readMore">${lang("general.readmore")}</a>
-
+                  <small><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="readMore">${lang("general.readmore")}</a></small>
                </p>
 
                </p>
 
-
-
-               <br clear="all" />
             </list>
          </div>
          <!--- /articles --->
             </list>
          </div>
          <!--- /articles --->