diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-19 06:57:13 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-19 06:57:13 +0000 |
| commit | 0844d5041e46b2a8f36bb45b25fe05c11825350e (patch) | |
| tree | 95615a60e32677d530c8e01387cf1338df7058ce | |
| parent | 9960123d59a8555c15fb6a8fac31934c855822d3 (diff) | |
-moved <style> to <head>
git-svn-id: https://svn.roundcube.net/trunk@1839 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/skins/default/templates/addressbook.html | 21 | ||||
| -rw-r--r-- | roundcubemail/skins/default/templates/mail.html | 9 |
2 files changed, 15 insertions, 15 deletions
diff --git a/roundcubemail/skins/default/templates/addressbook.html b/roundcubemail/skins/default/templates/addressbook.html index df5f20a02..999947730 100644 --- a/roundcubemail/skins/default/templates/addressbook.html +++ b/roundcubemail/skins/default/templates/addressbook.html @@ -5,6 +5,16 @@ <roundcube:include file="/includes/links.html" /> <link rel="stylesheet" type="text/css" href="/addresses.css" /> <script type="text/javascript" src="/splitter.js"></script> + +<roundcube:if condition="config:ldap_public == false" /> +<style type="text/css"> +#abookcountbar { left: 20px;} +#mainscreen { left:20px; /* IE hack */ width:expression((parseInt(document.documentElement.clientWidth)-40)+'px') } +#addresslist { width:245px } +#contacts-box { left:255px; /* IE hack */ width:expression((parseInt(mainscreen.offsetWidth)-255)+'px') } +</style> +<roundcube:endif /> + </head> <body> @@ -24,21 +34,10 @@ </div> <roundcube:if condition="config:ldap_public" /> - <div id="directorylist"> <div id="groups-title"><roundcube:label name="groups" /></div> <roundcube:object name="directorylist" id="directories-list" /> </div> - -<roundcube:else /> - -<style type="text/css"> -#abookcountbar { left: 20px;} -#mainscreen { left:20px; /* IE hack */ width:expression((parseInt(document.documentElement.clientWidth)-40)+'px') } -#addresslist { width:245px } -#contacts-box { left:255px; /* IE hack */ width:expression((parseInt(mainscreen.offsetWidth)-255)+'px') } -</style> - <roundcube:endif /> <div id="mainscreen"> diff --git a/roundcubemail/skins/default/templates/mail.html b/roundcubemail/skins/default/templates/mail.html index ff1fe9463..f4070e95f 100644 --- a/roundcubemail/skins/default/templates/mail.html +++ b/roundcubemail/skins/default/templates/mail.html @@ -41,6 +41,11 @@ body_keypress: function(evt, p) }; </script> +<roundcube:if condition="config:preview_pane == true" /> +<style type="text/css"> +#mailcontframe { height: 195px; } +</style> +<roundcube:endif /> </head> <body> @@ -88,10 +93,6 @@ body_keypress: function(evt, p) <roundcube:object name="messagecontentframe" id="messagecontframe" width="100%" height="100%" frameborder="0" src="/watermark.html" /> </div> -<style type="text/css"> -#mailcontframe { height: 195px; } -</style> - <roundcube:endif /> </div> |
