data. and config.
authorcvs <cvs>
Tue, 19 Mar 2002 10:55:18 +0000 (10:55 +0000)
committercvs <cvs>
Tue, 19 Mar 2002 10:55:18 +0000 (10:55 +0000)
templates-dist/producer/navigation.template
templates-dist/producer/openposting.template
templates-dist/producer/startpage.template
templates-dist/producer/topiclist.template

index 4e0a34c..ba01ba0 100755 (executable)
@@ -1,6 +1,6 @@
                   <p> 
                     <!-- topiclist --> 
-                    <list data.topics as t> 
+                    <list topics as t> 
                     <br>
                     <a href="${config.producerDocRoot}/${t.filename}.shtml"><b>${t.title}</b></a> 
                     </list> 
index 35ae1f3..dbc2b35 100755 (executable)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>mir.indymedia.de: ${data.topic.title}</title>
+<title>mir.indymedia.de: ${topic.title}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="stylesheet" href="/style/mir.css" type="text/css">
 </head>
         </tr>
         <tr> 
           <td align="left" valign="top">
-            <h2> ${data.title}</h2> 
+            <h2> ${title}</h2> 
             <table width="100%" border="0" cellpadding="0" cellspacing="2" height="100%">
               <tr> 
                 <td width="100%" valign="top"> 
                   <!--- articles ---> 
-                  <list data.contentlist as i> 
+                  <list contentlist as i> 
                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr> 
                       <td> 
index 2fb51f7..26b04d2 100755 (executable)
                 <td> 
                  <!-- newswire --> 
                   <p> 
-                   <list data.newswire as n>
+                   <list newswire as n>
                    <img alt=${n.to_media_icon["icon_alt"]} border="0" height="10"
 src="${n.to_media_icon["tiny_icon"]}" width="12"> 
                     <a href="${config.producerDocRoot}${n.publish_path}${n.id}.shtml"><b>${n.title}</b></a><br>
index ff2c000..f7f8ad7 100755 (executable)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>mir.indymedia.de: ${data.topic.title}</title>
+<title>mir.indymedia.de: ${topic.title}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="stylesheet" href="/style/mir.css" type="text/css">
 </head>
@@ -12,7 +12,7 @@
       <table width="150" border="0" cellspacing="0" cellpadding="0">
         <tr> 
           <td width="140">
-             <a href="${config.productionHost}${config.producerDocRoot}">
+             <a href="${config.productionHost}${config.producerDocRoot}/">
              <img src="images/mirlogo.jpg" width="150" height="205" border="0">
              </a>
           </td>
         </tr>
         <tr> 
           <td align="left" valign="top">
-            <h2> ${data.topic.title}</h2> 
+            <h2> ${topic.title}</h2> 
             <table width="100%" border="0" cellpadding="0" cellspacing="2" height="100%">
               <tr> 
                 <td width="100%" valign="top"> 
                 <!--- start-special ---> 
-                  <if data.special> 
+                  <if special> 
                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr> 
                       <td> 
-                        <h3>${data.special.title}</h3>
-                        <h4><i>${data.special.creator}, ${data.special.webdb_create_formatted}</i></h4>
+                        <h3>${special.title}</h3>
+                        <h4><i>${special.creator}, ${special.webdb_create_formatted}</i></h4>
                         <p> 
-                <if data.special.to_media_audio && data.special.to_media_audio[0]["is_published"]=="1"> 
-                  ${data.special.to_media_audio[0]["list"]}
+                <if special.to_media_audio && special.to_media_audio[0]["is_published"]=="1"> 
+                  ${special.to_media_audio[0]["list"]}
                 </if> 
-                <if data.special.to_media_video && data.special.to_media_video[0]["is_published"]=="1"> 
-                  ${data.special.to_media_video[0]["list"]}
+                <if special.to_media_video && special.to_media_video[0]["is_published"]=="1"> 
+                  ${special.to_media_video[0]["list"]}
                 </if> 
-                <if data.special.to_media_other && data.special.to_media_other[0]["is_published"]=="1"> 
-                  ${data.special.to_media_other[0]["list"]}
+                <if special.to_media_other && special.to_media_other[0]["is_published"]=="1"> 
+                  ${special.to_media_other[0]["list"]}
                 </if> 
                 <p>
-                <if data.special.to_media_images && data.special.to_media_images[0]["is_published"]=="1"> 
-                  ${data.special.to_media_images[0]["list"]}
+                <if special.to_media_images && special.to_media_images[0]["is_published"]=="1"> 
+                  ${special.to_media_images[0]["list"]}
                 </if> 
-                          ${data.special.description} </p>
-                        <p align="right">[<a href="${config.producerDocroot}${data.special.publish_path}${data.special.id}.shtml">read</a>]</p>
+                          ${special.description} </p>
+                        <p align="right">[<a href="${config.producerDocroot}${special.publish_path}${special.id}.shtml">read</a>]</p>
                       </td>
                     </tr>
                   </table>
                   </if> 
                  <!--- start-special --->
                   <!--- features ---> 
-                  <list data.contentlist as i> 
+                  <list contentlist as i> 
                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
                     <tr> 
                       <td>