diff options
Diffstat (limited to 'skins/default/templates/addressbook.html')
-rw-r--r-- | skins/default/templates/addressbook.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skins/default/templates/addressbook.html b/skins/default/templates/addressbook.html index ce295567b..431c0589e 100644 --- a/skins/default/templates/addressbook.html +++ b/skins/default/templates/addressbook.html @@ -7,7 +7,7 @@ <script type="text/javascript" src="/splitter.js"></script> <style type="text/css"> -<roundcube:if condition="config:ldap_public == false" /> +<roundcube:if condition="count(env:address_sources) <= 1" /> #abookcountbar { left: 20px;} #mainscreen { left:20px; /* IE hack */ width:expression((parseInt(document.documentElement.clientWidth)-40)+'px') } #addresslist { width: <roundcube:exp expression="!empty(cookie:addressviewsplitter) ? cookie:addressviewsplitter-5 : 245" />px; } @@ -44,7 +44,7 @@ <roundcube:object name="searchform" id="quicksearchbox" /><roundcube:button command="reset-search" id="searchreset" image="/images/icons/reset.gif" title="resetsearch" /> </div> -<roundcube:if condition="config:ldap_public" /> +<roundcube:if condition="count(env:address_sources) > 1" /> <div id="directorylist"> <div id="groups-title"><roundcube:label name="groups" /></div> <roundcube:object name="directorylist" id="directories-list" /> |