part.wizard-userfilter.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <fieldset id="ldapWizard2">
  2. <div>
  3. <p>
  4. <?php p($l->t('Listing and searching for users is constrained by these criteria:'));?>
  5. </p>
  6. <p>
  7. <label for="ldap_userfilter_objectclass">
  8. <?php p($l->t('Only these object classes:'));?>
  9. </label>
  10. <select id="ldap_userfilter_objectclass" multiple="multiple"
  11. name="ldap_userfilter_objectclass" class="multiSelectPlugin">
  12. </select>
  13. </p>
  14. <p>
  15. <label></label>
  16. <span class="ldapInputColElement"><?php p($l->t('The most common object classes for users are organizationalPerson, person, user, and inetOrgPerson. If you are not sure which object class to select, please consult your directory admin.'));?></span>
  17. </p>
  18. <p>
  19. <label for="ldap_userfilter_groups">
  20. <?php p($l->t('Only from these groups:'));?>
  21. </label>
  22. <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" />
  23. <select id="ldap_userfilter_groups" multiple="multiple"
  24. name="ldap_userfilter_groups" class="multiSelectPlugin">
  25. </select>
  26. </p>
  27. <p class="ldapManyGroupsSupport hidden">
  28. <label></label>
  29. <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple"
  30. aria-describedby="ldapGroupListAvailable_instructions"
  31. title="<?php p($l->t('Available groups'));?>"></select>
  32. <p class="hidden-visually" id="ldapGroupListAvailable_instructions">
  33. <?php p($l->t('Available groups'));?>
  34. </p>
  35. <span class="buttonSpan">
  36. <button class="ldapGroupListSelect" type="button">&gt;</button><br/>
  37. <button class="ldapGroupListDeselect" type="button">&lt;</button>
  38. </span>
  39. <select class="ldapGroupList ldapGroupListSelected" multiple="multiple"
  40. aria-describedby="ldapGroupListSelected_instructions"
  41. title="<?php p($l->t('Selected groups'));?>"></select>
  42. <p class="hidden-visually" id="ldapGroupListSelected_instructions">
  43. <?php p($l->t('Selected groups'));?>
  44. </p>
  45. </p>
  46. <p>
  47. <label><a id='toggleRawUserFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label>
  48. </p>
  49. <p id="ldapReadOnlyUserFilterContainer" class="hidden ldapReadOnlyFilterContainer">
  50. <label><?php p($l->t('LDAP Filter:'));?></label>
  51. <span class="ldapFilterReadOnlyElement ldapInputColElement"></span>
  52. </p>
  53. <p id="rawUserFilterContainer">
  54. <textarea type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
  55. class="ldapFilterInputElement"
  56. placeholder="<?php p($l->t('Edit LDAP Query'));?>"
  57. aria-describedby="ldap_userlist_filter_instructions"
  58. title="<?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>">
  59. </textarea>
  60. <p class="hidden-visually" id="ldap_userlist_filter_instructions">
  61. <?php p($l->t('The filter specifies which LDAP users shall have access to the %s instance.', [$theme->getName()]));?>
  62. </p>
  63. </p>
  64. <p>
  65. <div class="ldapWizardInfo invisible">&nbsp;</div>
  66. </p>
  67. <p class="ldap_count">
  68. <button class="ldapGetEntryCount ldapGetUserCount" name="ldapGetEntryCount" type="button">
  69. <?php p($l->t('Verify settings and count users'));?>
  70. </button>
  71. <span id="ldap_user_count"></span>
  72. </p>
  73. <?php print_unescaped($_['wizardControls']); ?>
  74. </div>
  75. </fieldset>