diff options
author | thomascube <thomas@roundcube.net> | 2006-12-17 21:28:37 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2006-12-17 21:28:37 +0000 |
commit | a7d5c6480cdef191b04e71005ffea0e35b84ac24 (patch) | |
tree | 2417f87ab39eb74765da109af8fb62bb730b9090 /skins/default/templates | |
parent | 5b0687dfcabb7258902f070057fc8a41ba27a776 (diff) |
Added patch for resizeable preview pane
Diffstat (limited to 'skins/default/templates')
-rw-r--r-- | skins/default/templates/addressbook.html | 6 | ||||
-rw-r--r-- | skins/default/templates/mail.html | 7 |
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 /> |