]> git.sur5r.net Git - contagged/blobdiff - templates/help.tpl
Merge pull request #15 from cweiske/master
[contagged] / templates / help.tpl
index 018aafa82cd68b00a7ef199cc114757da436c409..f21db2a31d5c6ffcf0223c58151e34f94b6f54f7 100644 (file)
@@ -1,5 +1,6 @@
 {include file="header.tpl"}
 
+<div id="help">
 <h2>Adding LDAP-Access to your Mailclient</h2>
 
 <h3>Public Addressbook</h3>
@@ -8,31 +9,31 @@
 <dl>
   <dt>LDAP-Server</dt>
   <dd><code>{$conf.ldapserver}</code></dd>
-  
+
   <dt>Bind-DN</dt>
   <dd><code>leave empty</code> (anonymous bind)</dd>
-  
+
   <dt>Bind-Password</dt>
   <dd><code>leave empty</code> (anonymous bind)</dd>
-  
+
   <dt>Base/Search-DN</dt>
   <dd><code>{$conf.publicbook}</code></dd>
 </dl>
 
 <h3>Private Addressbook</h3>
 
-{if $binddn}
+{if $binddn && $conf.privatebook}
 <p>To access your personal address data use these settings:</p>
 <dl>
   <dt>LDAP-Server</dt>
   <dd><code>{$conf.ldapserver}</code></dd>
-  
+
   <dt>Bind-DN</dt>
   <dd><code>{$binddn}</code></dd>
-  
+
   <dt>Bind-Password</dt>
   <dd><code>your password</code> (The one you used to login here)</dd>
-  
+
   <dt>Base/Search-DN</dt>
   <dd><code>{$conf.privatebook},{$binddn}</code></dd>
 </dl>
@@ -40,4 +41,6 @@
 <p>Login to see this data</p>
 {/if}
 
+</div>
+
 {include file="footer.tpl"}