Hi,

in phpldapadmin 1.1 I had the following checkbox list (sanitized version 
below) for user accounts:

<attribute id="services">
        <display>Services</display>
        <option>None</option>
        <option>addressbook</option>
        <option>email</option>
        <option>jabber</option>
        <type>multiselect</type>
        <value>email</value>
        <value>addressbook</value>
        <hidden>0</hidden>
</attribute>

What it does is have a list of options in a specific order, and a couple of 
preselected values for new accounts.  The values of the "services" attribute 
are then used in ACLs.

I'm trying to get this working in 1.2 without success.  I think it should be 
something like:
<attribute id="ismSystem">
        <display>Services</display>
        <hidden>0</hidden>
        <value id="None">None</value>
        <value id="addressbook">addressbook</value>
        <value id="email">email</value>
        <value id="jabber">jabber</value>
        <default>email</default>
        <type>multiselect</type>
</attribute>
But that outputs a lot of text boxes rather than checkboxes.  Any tips on how 
to do it?  I can use MultiList and search to get roughly the right thing, but 
don't want to search.

Thanks,
Daniel.

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to