summaryrefslogtreecommitdiff
path: root/skins/classic
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-12-19 10:11:58 +0100
committerAleksander Machniak <alec@alec.pl>2012-12-19 10:11:58 +0100
commitf5e7a1f36a04bdf830ee935a651295cb9794ecf4 (patch)
treef8cf6b7ef7e944887e0a8181b911646d6dce069c /skins/classic
parent0d214498d04439c29c9764fa291dcfde49701467 (diff)
Add Compose button on message view page (#1488747)
Fixed javascript error on extwin message page (classic skin) - removed splitter.
Diffstat (limited to 'skins/classic')
-rw-r--r--skins/classic/includes/messagetoolbar.html2
-rw-r--r--skins/classic/templates/message.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/skins/classic/includes/messagetoolbar.html b/skins/classic/includes/messagetoolbar.html
index 371c83fd9..bd14f490f 100644
--- a/skins/classic/includes/messagetoolbar.html
+++ b/skins/classic/includes/messagetoolbar.html
@@ -5,8 +5,8 @@
<roundcube:button command="list" type="link" class="button back" classAct="button back" classSel="button backSel" title="backtolist" content=" " />
<roundcube:else />
<roundcube:button command="checkmail" type="link" class="button checkmail" classAct="button checkmail" classSel="button checkmailSel" title="checkmail" content=" " />
-<roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " />
<roundcube:endif />
+<roundcube:button command="compose" type="link" class="button compose" classAct="button compose" classSel="button composeSel" title="writenewmessage" content=" " />
<roundcube:button command="reply" type="link" class="buttonPas reply" classAct="button reply" classSel="button replySel" title="replytomessage" content=" " />
<span class="dropbutton">
<roundcube:button command="reply-all" type="link" class="buttonPas replyAll" classAct="button replyAll" classSel="button replyAllSel" title="replytoallmessage" content=" " />
diff --git a/skins/classic/templates/message.html b/skins/classic/templates/message.html
index fcf0b22c8..b9c928f8f 100644
--- a/skins/classic/templates/message.html
+++ b/skins/classic/templates/message.html
@@ -58,10 +58,12 @@
</div>
+<roundcube:if condition="!env:extwin" />
<script type="text/javascript">
var mailviewsplitv = new rcube_splitter({id:'mailviewsplitterv', p1: 'mailboxlist-container', p2: 'messageframe', orientation: 'v', relative: true, start: 165});
rcmail.add_onload('mailviewsplitv.init()');
</script>
+<roundcube:endif />
</body>
</html>