Make use of the configspecial we have for contact sources.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 8 Jul 2010 22:06:33 +0000 (18:06 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 8 Jul 2010 22:07:24 +0000 (18:07 -0400)
Re-add this now that we are working towards Horde 4
(Finally) closes Bug: 3271

turba/config/conf.xml

index 30aee84..9d2e12c 100644 (file)
 
  <configsection name="client">
    <configheader>Clients</configheader>
-   <configstring name="addressbook" desc="Name of client addressbook. If this
-   is a shared address book, use the share id, not the source
-   name.">localsql</configstring>
+   <configenum name="addressbook" desc="Name of client addressbook">
+     <values>
+       <configspecial name="list-contact-sources"/>
+     </values>
+   </configenum>
  </configsection>
 
  <configsection name="gal">
    <configheader>Exchange GAL</configheader>
-   <configstring name="addressbook" desc="If using a synchronization solution
+   <configenum name="addressbook" desc="If using a synchronization solution
    that supports Exchange-style Global Address List (GAL) searches enter the
    name of the addressbook that should act as the GAL. This is normally a
-   globally accessable, readonly addressbook." required="false">localsql</configstring>
+   globally accessable, readonly addressbook." required="false">
+     <values>
+       <configspecial name="list-contact-sources"/>
+     </values>
+   </configenum>
  </configsection>
 
  <configsection name="shares">