moved this to open, as it is no longer handled by the producer system
authorjohn <john>
Sun, 4 May 2003 12:53:34 +0000 (12:53 +0000)
committerjohn <john>
Sun, 4 May 2003 12:53:34 +0000 (12:53 +0000)
etc/open/email_article.template [new file with mode: 0755]

diff --git a/etc/open/email_article.template b/etc/open/email_article.template
new file mode 100755 (executable)
index 0000000..e6c178f
--- /dev/null
@@ -0,0 +1,101 @@
+Subject: MIR-FORWARD::${data.article.title}
+Mime-Version: 1.0
+Content-Type: multipart/alternative; boundary="bboouunnddaarryy"
+
+--bboouunnddaarryy
+Content-type: text/plain;
+
+${lang("general.htmltitle")} Email Forward
+------------------------------------------------------------ 
+
+${data.article.title}
+                                       
+${data.article.creator}, ${data.article.creationdate.formatted["dd.MM.yyyy HH:mm"]}
+
+${data.article.description}
+       
+${data.article.content_data}
+                               
+<if data.article.creator_main_url || data.article.creator_email>                                               
+<if data.article.creator_email>
+${lang("article.email.prefix")}: ${data.article.creator_email}
+</if>
+<if data.article.creator_main_url>
+${lang("article.homepage.prefix")}: ${data.article.creator_main_url} 
+</if>
+</if>
+
+Source of this emailed article:
+${config["Producer.ProductionHost"]}/${config["Producer.DocRoot"]}/${data.languagecode}/${data.article.creationdate.formatted["yyyy/MM"]}/${data.article.id}.shtml
+
+!COMMENT!
+--bboouunnddaarryy
+Content-type: text/html;charset="utf-8";
+
+<html>
+<body bgcolor="#dddddd" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" link="#003399" alink="#cc0033" vlink="#660033" >
+<h1>${lang("general.htmltitle")}::Forwarded Article </h1>
+<table cellpadding="30" cellspacing="0" border="0" width="80%"><tr><td>
+        <br>
+        <h2>${data.article.title}(<a href="${config["Producer.ProductionHost"]}/${config["Producer.DocRoot"]}/${data.languagecode}/${data.article.creationdate.formatted["yyyy/MM"]}/${data.article.id}.shtml">original location here</a>)</h2>
+                               
+       <p><i><font size="-1">${data.article.creator}, ${data.article.creationdate.formatted["dd.MM.yyyy HH:mm"]}</font></i></p>
+        <br>
+       <p>${data.article.description_parsed}</p>
+       <!-- media -->
+       <list data.article.to_media_audio as media>
+       <p>
+       <a href="${media["publish_server"]}${media["publish_path"]}">
+       ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}
+       </a>
+       </p>
+       </list>
+       <list data.article.to_media_video as media>
+       <p>
+       <img src="../../../img/${media["big_icon"]}" border="0" alt="">
+       <a href="${media["publish_server"]}${media["publish_path"]}">
+       ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}</a>
+       </p>
+       </list>
+       <list data.article.to_media_other as media>
+       <p>
+       <img src="../../../img/${media["big_icon"]}" border="0" alt="">
+       <a href="${media["publish_server"]}${media["publish_path"]}">
+       ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}</a>
+       </p>
+       </list>
+                       
+       <list data.article.to_media_images as image>
+       <p>
+       <img src="${image["publish_server"]}${image["publish_path"]}"
+       border="0" width="${image["img_width"]}"
+       height="${image["img_height"]}" alt="${image["title"]}">
+       <br><i>${image["title"]}</i>
+       </p>
+       </list>
+       <br>
+       <p><font size="-1">${data.article.content_data_parsed}</font></p>
+       <br>
+       <if data.article.creator_main_url || data.article.creator_email>
+       <p>
+               <font size="-1">
+               <if data.article.creator_email>
+                       <img src="../../../img/mail_small.gif" width="12" height="10" border="0" alt="-"> ${lang("article.email.prefix")}: <a href="mailto:${article.creator_email}">${article.creator_email}</a><br>
+               </if>
+               <if data.article.creator_main_url>
+                       <img src="../../../img/link_small.gif" width="12" height="10" border="0" alt=""> ${lang("article.homepage.prefix")}: <a href="${article.creator_main_url}" target="extern">${data.article.creator_main_url}</a><br>
+               </if>
+       </font>
+       </p>
+       </if>
+       <br>
+       <br>
+       <br>
+       !COMMENT!                                        
+       </td>
+       </tr>
+</table>
+</body>
+</html>
+--bboouunnddaarryy--
+