summaryrefslogtreecommitdiff
path: root/skins/default/templates
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-17 17:03:05 +0000
committerthomascube <thomas@roundcube.net>2007-05-17 17:03:05 +0000
commita549a9222a9368a2a0aa918232f25eaf7fcdb75f (patch)
tree8fb4ef828e14aba29f682d4788f764805b9d25e6 /skins/default/templates
parent7198044efba3df34642570d57cc567b51af0d5dd (diff)
Hide address groups if no LDAP servers configured + some skin cleanup
Diffstat (limited to 'skins/default/templates')
-rw-r--r--skins/default/templates/addressbook.html10
-rw-r--r--skins/default/templates/compose.html2
2 files changed, 11 insertions, 1 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html
index c70b00c92..a97f584de 100644
--- a/skins/default/templates/addressbook.html
+++ b/skins/default/templates/addressbook.html
@@ -23,11 +23,21 @@
<roundcube:object name="searchform" type="search" results="5" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" />
</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">
+#addresslist { left:20px; width:440px }
+#contacts-box { left:475px }
+#abookcountbar { left:20px }
+</style>
+
+<roundcube:endif />
+
<div id="addresslist">
<roundcube:object name="addresslist" id="contacts-table" class="records-table" cellspacing="0" summary="Contacts list" />
</div>
diff --git a/skins/default/templates/compose.html b/skins/default/templates/compose.html
index 63d5b2c2b..8fbb2985e 100644
--- a/skins/default/templates/compose.html
+++ b/skins/default/templates/compose.html
@@ -94,7 +94,7 @@ function rcmail_toggle_display(id)
</tr><tr>
-<td style="width:100%; height:98%; vertical-align:top;">
+<td style="width:100%; height:90%; vertical-align:top;">
<roundcube:object name="composeBody" id="compose-body" form="form" cols="80" rows="20" wrap="virtual" tabindex="7" />
<table border="0" cellspacing="0" width="100%" summary=""><tbody>