diff options
author | alecpl <alec@alec.pl> | 2008-09-19 06:57:13 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-19 06:57:13 +0000 |
commit | cb7597e268fa5fa9760f9d0cae5c1fd1f0e3fbe7 (patch) | |
tree | 87cd2fb02a523051c42720cdad1197e4de59135e /skins/default/templates | |
parent | 5d480c14c7c3f7390cdce6cfe2b814a93130a866 (diff) |
-moved <style> to <head>
Diffstat (limited to 'skins/default/templates')
-rw-r--r-- | skins/default/templates/addressbook.html | 21 | ||||
-rw-r--r-- | skins/default/templates/mail.html | 9 |
2 files changed, 15 insertions, 15 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index df5f20a02..999947730 100644 --- a/skins/default/templates/addressbook.html +++ b/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/skins/default/templates/mail.html b/skins/default/templates/mail.html index ff1fe9463..f4070e95f 100644 --- a/skins/default/templates/mail.html +++ b/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> |