Bug fixes for links to indymedia.org.uk for publishing and admin and links to css...
[nyc.indymedia.org.git] / etc / producer / startpage.template
index 0f4f147..c9d124c 100755 (executable)
                            <else>\r
                               <assign s=ss>\r
                            </if>\r
-  \r
-                         <if s.to_media_images >\r
-                               <table class="imageWrap" cellspacing="0">\r
+                               <if ssimagepath>\r
+                                       <table class="imageWrap" cellspacing="0">\r
                                 <tr>\r
-                                 <td class="image" style="background: url(/images/${s.to_media_images[0]["publish_path"]}) no-repeat top center;"><br /></td>\r
+                                 <td class="image" style="background: url(${ssimagepath}) no-repeat top center;"><br /></td>\r
                                 </tr>\r
                                 <tr>\r
-                                 <td><small>${s.to_media_images[0]["title"]}</small></td>\r
+                                 <td><small>${sstitle}</small></td>\r
                                 </tr>\r
-                               </table>\r
-                         </if>\r
-   \r
+                     </table>\r
+                               </if>\r
                            <p class="title">\r
                               <b><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.html">${s.title}</a></b>\r
                            </p>\r
 \r
          <div class="newswireWrap">\r
             <b><a href="/${language.code}/">Newswire</a> | <a href="?category">Blogwire</a> |\r
-            <a href="https://nyc.traven.indymedia.org.uk/nyc/servlet/OpenMir">publish</a></b>\r
+            <a href="https://publish.nyc.indymedia.org/nyc/servlet/OpenMir">publish</a></b>\r
          </div>\r
 <comment>\r
             <!-- #if expr="\"$DOCUMENT_URI\" = /?category/" \r