e64558bae6affae6be00af8a521a619c1e4a55ad
[mir.git] / etc / producer / emailThisArticle.template
1 Subject: MIR-FORWARD::${article.title}
2 Mime-Version: 1.0
3 Content-Type: multipart/alternative; boundary="bboouunnddaarryy"
4
5 --bboouunnddaarryy
6 Content-type: text/plain;
7
8 ${lang("general.htmltitle")} Email Forward
9 ------------------------------------------------------------ 
10
11 ${article.title}
12                                         
13 ${article.creator}, ${article.creationdate.formatted["dd.MM.yyyy HH:mm"]}
14
15 ${article.description}
16         
17 ${article.content_data}
18                                 
19 <if article.creator_main_url || article.creator_email>                                          
20 <if article.creator_email>
21 ${lang("article.email.prefix")}: ${article.creator_email}
22 </if>
23 <if article.creator_main_url>
24 ${lang("article.homepage.prefix")}: ${article.creator_main_url} 
25 </if>
26 </if>
27
28 Source of this emailed article:
29 ${config["Producer.ProductionHost"]}/${config["Producer.DocRoot"]}/${language.code}/${article.creationdate.formatted["yyyy/MM"]}/${article.id}.shtml
30
31 !COMMENT!
32 --bboouunnddaarryy
33 Content-type: text/html;charset="utf-8";
34
35 <html>
36 <body bgcolor="#dddddd" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" link="#003399" alink="#cc0033" vlink="#660033" >
37 <h1>${general.htmltitle}::Forwarded Article </h1>
38 <table cellpadding="30" cellspacing="0" border="0" width="80%"><tr><td>
39         <br>
40         <h2>${article.title}(<a href="${config["Producer.ProductionHost"]}/${config["Producer.DocRoot"]}/${language.code}/${article.creationdate.formatted["yyyy/MM"]}/${article.id}.shtml">original location here</a>)</h2>
41                                 
42         <p><i><font size="-1">${article.creator}, ${article.creationdate.formatted["dd.MM.yyyy HH:mm"]}</font></i></p>
43         <br>
44         <p>${article.description_parsed}</p>
45         <!-- media -->
46         <list article.to_media_audio as media>
47         <p>
48         <a href="${media["publish_server"]}${media["publish_path"]}">
49         ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}
50         </a>
51         </p>
52         </list>
53         <list article.to_media_video as media>
54         <p>
55         <img src="../../../img/${media["big_icon"]}" border="0" alt="">
56         <a href="${media["publish_server"]}${media["publish_path"]}">
57         ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}</a>
58         </p>
59         </list>
60         <list article.to_media_other as media>
61         <p>
62         <img src="../../../img/${media["big_icon"]}" border="0" alt="">
63         <a href="${media["publish_server"]}${media["publish_path"]}">
64         ${media["title"]} - ${media["media_descr"]} ${media["human_readable_size"]}</a>
65         </p>
66         </list>
67                         
68         <list article.to_media_images as image>
69         <p>
70         <img src="${image["publish_server"]}${image["publish_path"]}"
71         border="0" width="${image["img_width"]}"
72         height="${image["img_height"]}" alt="${image["title"]}">
73         <br><i>${image["title"]}</i>
74         </p>
75         </list>
76         <br>
77         <p><font size="-1">${article.content_data_parsed}</font></p>
78         <br>
79         <if article.creator_main_url || article.creator_email>
80         <p>
81                 <font size="-1">
82                 <if article.creator_email>
83                         <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>
84                 </if>
85                 <if article.creator_main_url>
86                         <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">${article.creator_main_url}</a><br>
87                 </if>
88         </font>
89         </p>
90         </if>
91         <br>
92         <br>
93         <br>
94         !COMMENT!                                        
95         </td>
96         </tr>
97 </table>
98 </body>
99 </html>
100 --bboouunnddaarryy--
101