summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-12-01 18:06:16 +0000
committerthomascube <thomas@roundcube.net>2006-12-01 18:06:16 +0000
commitb19097058c02f203321599bf04a5d7da7c2dafe8 (patch)
tree2e9cb4d79efe613f47048bab01016c3d0e0342ef /skins/default/templates
parent740e9ec00757ba805dbe27b22f92d12f6bd2e690 (diff)
Introducing preview pane and conditional skin tags
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/mail.html13
-rw-r--r--skins/default/templates/messagepreview.html19
2 files changed, 32 insertions, 0 deletions
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 6d95d6058..7e83057c5 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -54,6 +54,19 @@
attachmentIcon="/images/icons/attachment.png" />
</div>
+<roundcube:if condition="config:preview_pane == true" />
+<div id="mailpreviewframe">
+<roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
+</div>
+
+<style type="text/css">
+#mailcontframe {
+ bottom: auto;
+ height: 210px;
+}
+</style>
+<roundcube:endif />
+
<div id="listcontrols">
<roundcube:label name="select" />:&nbsp;
<roundcube:button command="select-all" label="all" classAct="active" />&nbsp;
diff --git a/skins/default/templates/messagepreview.html b/skins/default/templates/messagepreview.html
new file mode 100644
index 000000000..e08f2c7ec
--- /dev/null
+++ b/skins/default/templates/messagepreview.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<link rel="stylesheet" type="text/css" href="/common.css" />
+<link rel="stylesheet" type="text/css" href="/mail.css" />
+</head>
+<body class="iframe">
+
+<div class="messageheaderbox">
+<roundcube:object name="messageHeaders" class="headers-table" cellspacing="0" cellpadding="2" addicon="/images/icons/plus.gif" summary="Message headers" />
+<roundcube:object name="messageAttachments" id="attachment-list" />
+</div>
+
+<roundcube:object name="blockedObjects" id="remote-objects-message" />
+<roundcube:object name="messageBody" id="messagebody" />
+
+</body>
+</html>