summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/addressbook.html6
-rw-r--r--skins/default/templates/mail.html7
2 files changed, 12 insertions, 1 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index 1cbdc84d2..e5b5a104b 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -4,6 +4,7 @@
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
<link rel="stylesheet" type="text/css" href="/addresses.css" />
+<script type="text/javascript" src="/splitter.js"></script>
</head>
<body>
@@ -31,6 +32,11 @@
<roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" />
</div>
+<script type="text/javascript">
+ var addrviewsplit = new rcube_splitter({id:'addressviewsplitter', p1: 'addresslist', p2: 'contacts-box', orientation: 'v'});
+ rcmail.add_onload('addrviewsplit.init()');
+</script>
+
<div id="contacts-box">
<roundcube:object name="addressframe" id="contact-frame" width="100%" height="100%" frameborder="0" src="/watermark.html" />
</div>
diff --git a/skins/default/templates/mail.html b/skins/default/templates/mail.html
index 7e83057c5..d7f11bdfd 100644
--- a/skins/default/templates/mail.html
+++ b/skins/default/templates/mail.html
@@ -4,6 +4,7 @@
<title><roundcube:object name="pagetitle" /></title>
<roundcube:include file="/includes/links.html" />
<link rel="stylesheet" type="text/css" href="/mail.css" />
+<script type="text/javascript" src="/splitter.js"></script>
</head>
<body>
@@ -55,6 +56,10 @@
</div>
<roundcube:if condition="config:preview_pane == true" />
+<script type="text/javascript">
+ var mailviewsplit = new rcube_splitter({id:'mailviewsplitter', p1: 'mailcontframe', p2: 'mailpreviewframe', orientation: 'h'});
+ rcmail.add_onload('mailviewsplit.init()');
+</script>
<div id="mailpreviewframe">
<roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" />
</div>
@@ -62,7 +67,7 @@
<style type="text/css">
#mailcontframe {
bottom: auto;
- height: 210px;
+ height: 208px;
}
</style>
<roundcube:endif />