1
0

part.wizard-groupfilter.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <fieldset id="ldapWizard4">
  2. <div>
  3. <p>
  4. <?php p($l->t('Groups meeting these criteria are available in %s:', [$theme->getName()]));?>
  5. </p>
  6. <p>
  7. <label for="ldap_groupfilter_objectclass">
  8. <?php p($l->t('Only these object classes:'));?>
  9. </label>
  10. <select id="ldap_groupfilter_objectclass" multiple="multiple"
  11. name="ldap_groupfilter_objectclass" class="multiSelectPlugin">
  12. </select>
  13. </p>
  14. <p>
  15. <label for="ldap_groupfilter_groups">
  16. <?php p($l->t('Only from these groups:'));?>
  17. </label>
  18. <input type="text" class="ldapManyGroupsSupport ldapManyGroupsSearch hidden" placeholder="<?php p($l->t('Search groups'));?>" />
  19. <select id="ldap_groupfilter_groups" multiple="multiple"
  20. name="ldap_groupfilter_groups" class="multiSelectPlugin">
  21. </select>
  22. </p>
  23. <p class="ldapManyGroupsSupport hidden">
  24. <label></label>
  25. <select class="ldapGroupList ldapGroupListAvailable" multiple="multiple"
  26. aria-describedby="ldapGroupListAvailable_instructions"
  27. title="<?php p($l->t('Available groups'));?>"></select>
  28. <p class="hidden-visually" id="ldapGroupListAvailable_instructions">
  29. <?php p($l->t('Available groups'));?>
  30. </p>
  31. <span class="buttonSpan">
  32. <button class="ldapGroupListSelect" type="button">&gt;</button><br/>
  33. <button class="ldapGroupListDeselect" type="button">&lt;</button>
  34. </span>
  35. <select class="ldapGroupList ldapGroupListSelected" multiple="multiple"
  36. aria-describedby="ldapGroupListSelected_instructions"
  37. title="<?php p($l->t('Selected groups'));?>"></select>
  38. <p class="hidden-visually" id="ldapGroupListSelected_instructions">
  39. <?php p($l->t('Selected groups'));?>
  40. </p>
  41. </p>
  42. <p>
  43. <label><a id='toggleRawGroupFilter' class='ldapToggle'>↓ <?php p($l->t('Edit LDAP Query'));?></a></label>
  44. </p>
  45. <p id="ldapReadOnlyGroupFilterContainer" class="hidden ldapReadOnlyFilterContainer">
  46. <label><?php p($l->t('LDAP Filter:'));?></label>
  47. <span class="ldapFilterReadOnlyElement ldapInputColElement"></span>
  48. </p>
  49. <p id="rawGroupFilterContainer" class="invisible">
  50. <textarea type="text" id="ldap_group_filter" name="ldap_group_filter"
  51. placeholder="<?php p($l->t('Edit LDAP Query'));?>"
  52. aria-describedby="rawGroupFilterContainer_instructions"
  53. title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>">
  54. </textarea>
  55. <p class="hidden-visually" id="rawGroupFilterContainer_instructions">
  56. <?php p($l->t('The filter specifies which LDAP groups shall have access to the %s instance.', [$theme->getName()]));?>
  57. </p>
  58. </p>
  59. <p>
  60. <div class="ldapWizardInfo invisible">&nbsp;</div>
  61. </p>
  62. <p class="ldap_count">
  63. <button class="ldapGetEntryCount ldapGetGroupCount" name="ldapGetEntryCount" type="button">
  64. <?php p($l->t('Verify settings and count the groups'));?>
  65. </button>
  66. <span id="ldap_group_count"></span>
  67. </p>
  68. <?php print_unescaped($_['wizardControls']); ?>
  69. </div>
  70. </fieldset>