summaryrefslogtreecommitdiff
path: root/skins/classic/templates/compose.html
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-10-17 23:32:08 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-10-17 23:32:08 +0200
commit3bc6ae04ae11a2e84a457a80a3892d6072bcc334 (patch)
tree47d7770a5d16741053dfdcf1c109961deaae1434 /skins/classic/templates/compose.html
parentb50a6c843d9f69e926998fcc16fac3ed6fd2f737 (diff)
Adapt classic skin to new extwin feature
Diffstat (limited to 'skins/classic/templates/compose.html')
-rw-r--r--skins/classic/templates/compose.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/skins/classic/templates/compose.html b/skins/classic/templates/compose.html
index 1e1403e18..985e62e86 100644
--- a/skins/classic/templates/compose.html
+++ b/skins/classic/templates/compose.html
@@ -15,15 +15,22 @@
}
</style>
</head>
+<roundcube:if condition="env:extwin" />
+<body class="extwin" onload="rcube_init_mail_ui()">
+<roundcube:else />
<body onload="rcube_init_mail_ui()">
-
<roundcube:include file="/includes/taskbar.html" />
<roundcube:include file="/includes/header.html" />
+<roundcube:endif />
<form name="form" action="./" method="post">
<div id="messagetoolbar">
+<roundcube:if condition="env:extwin" />
+ <roundcube:button command="close" type="link" class="button back" classAct="button back" classSel="button backSel" title="close" content=" " />
+<roundcube:else />
<roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " />
+<roundcube:endif />
<roundcube:button command="send" type="link" class="buttonPas send" classAct="button send" classSel="button sendSel" title="sendmessage" content=" " />
<roundcube:if condition="config:enable_spellcheck" />
<span class="dropbutton">
@@ -64,6 +71,7 @@
<td class="editfield formlinks">
<roundcube:object name="composeHeaders" part="from" form="form" id="_from" tabindex="1" />
<a href="#identities" onclick="return rcmail.command('identities')"><roundcube:label name="editidents" /></a>
+ <roundcube:button command="extwin" image="/images/icons/extwin.png" width="15" height="15" title="openinextwin" id="openextwinlink" condition="!env:extwin" />
</td>
</tr><tr>
<td class="title top"><label for="_to"><roundcube:label name="to" /></label></td>