sogo/UI/Templates/MailPartViewers/UIxMailPartLinkViewer.wox
2013-12-20 16:18:19 -05:00

40 lines
1.4 KiB
XML

<?xml version="1.0" standalone="yes"?>
<!DOCTYPE div>
<div xmlns="http://www.w3.org/1999/xhtml"
xmlns:var="http://www.skyrix.com/od/binding"
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:label="OGo:label"
class="linked_attachment_frame file"
>
<div class="linked_attachment_body">
<a var:href="pathToAttachment"
var:title="filenameForDisplay"
const:absolute="YES"
><img var:src="mimeImageURL"/>
<div class="linked_attachment_meta">
<var:string value="filenameForDisplay"
/> <span class="muted">(<var:string value="bodyInfo.size" formatter="sizeFormatter" />)</span>
</div>
</a>
<!-- debug
<pre><var:string value="bodyInfo"/></pre>
<a var:href="pathToAttachment"
var:title="bodyInfo"
class="mailer_imagecontent"
>[<var:string value="pathToAttachment" />]</a>
<br />
Id: <var:string value="bodyInfo.bodyId" /><br />
Desc: <var:string value="bodyInfo.description" /><br />
Enc: <var:string value="bodyInfo.encoding" /><br />
Par: <var:string value="bodyInfo.parameterList" /><br />
Size: <var:string value="bodyInfo.size" /><br />
Type: <var:string value="bodyInfo.type" /><br />
Subtype: <var:string value="bodyInfo.subtype" /><br />
Path: <var:string value="pathToAttachment" /><br />
PartPath: <var:string value="partPath" /><br />
-->
</div>
</div>