| 1 |
[% USE util = Plagger.Util -%] |
|---|
| 2 |
|
|---|
| 3 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|---|
| 4 |
<html> |
|---|
| 5 |
<head> |
|---|
| 6 |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> |
|---|
| 7 |
<style TYPE=text/css> |
|---|
| 8 |
body { padding:0; margin:20px } |
|---|
| 9 |
strong { font-weight:bold; font-size:1.2em } |
|---|
| 10 |
div#msgheader { background:#65869E; color:#F5F5F5; padding:10px; margin:-20px -20px 0 -20px } |
|---|
| 11 |
div#msgbody { margin: 1em } |
|---|
| 12 |
div#msgfooter { text-align:right; font-size:0.8em } |
|---|
| 13 |
#msgheader a:link { color:#F5F5F5 } |
|---|
| 14 |
#msgheader a { font-size: 90% } |
|---|
| 15 |
#msgbody a:link { color:#000000 } |
|---|
| 16 |
#msgbody img { border:1px solid; background:#F5F5F5 } |
|---|
| 17 |
#msgbody hr { border:1px solid } |
|---|
| 18 |
#msgbody pre { font-size: 90% } |
|---|
| 19 |
</style> |
|---|
| 20 |
</head> |
|---|
| 21 |
<body> |
|---|
| 22 |
<div> |
|---|
| 23 |
<div id="msgheader"> |
|---|
| 24 |
[% IF entry.icon %]<a href="[% entry.link | html %]"><img [% util.dumbnail(entry.icon,width=150,height=60) %]style="border:0" align="right" src="[% entry.icon.url | html %]" alt="[% (entry.icon.title || entry.title) | html %]" /></a> |
|---|
| 25 |
[% ELSIF feed.image %]<a href="[% feed.link | html %]"><img [% util.dumbnail(feed.image,width=150,height=60) %]style="border:0" align="right" src="[% feed.image.url | html %]" alt="[% feed.title | html %]" /></a> |
|---|
| 26 |
[% END -%] |
|---|
| 27 |
[% SET link = entry.link || entry.id -%] |
|---|
| 28 |
<a href="[% link | html %]"><strong>[% entry.title %]</strong></a><br /> |
|---|
| 29 |
[% feed.title %]<br /> |
|---|
| 30 |
[% IF entry.author %]by [% entry.author | html %][% END %][% IF entry.tags.size %] on [% entry.tags.join(',') %][% END %]</div> |
|---|
| 31 |
<div id="msgbody"> |
|---|
| 32 |
[% IF entry.body -%] |
|---|
| 33 |
[% IF entry.body.match('(?i)^<p[ >]') %][% entry.body %][% ELSE %]<div id="msgbody">[% entry.body %]</div>[% END %] |
|---|
| 34 |
[% ELSE %]<br />[% END %] |
|---|
| 35 |
<div id="msgfooter">[% IF entry.date %]Posted on [% entry.date.format('Mail') %][% END %] | <a href="[% entry.permalink | html %]">permalink</a> | <a href="[% feed.link | html %]">[% feed.title | html %]</a>[% FOREACH widget = entry.widgets %] | [% widget.html(entry) %][% END %]<br clear="all" /></div> |
|---|
| 36 |
</div> |
|---|
| 37 |
</div> |
|---|
| 38 |
</body> |
|---|
| 39 |
</html> |
|---|