--- /dev/null
+<fieldset id="ldapWizard4">
+ <div>
+ <p>
+ <?php p($l->t('Limit the access to ownCloud to groups meeting this criteria:'));?>
+ </p>
+ <p>
+ <label for="ldap_groupfilter_objectclass">
+ <?php p($l->t('only those object classes:'));?>
+ </label>
+
+ <select id="ldap_groupfilter_objectclass" multiple="multiple"
+ name="ldap_groupfilter_objectclass">
+ </select>
+ </p>
+ <p>
+ <label for="ldap_groupfilter_groups">
+ <?php p($l->t('only from those groups:'));?>
+ </label>
+
+ <select id="ldap_groupfilter_groups" multiple="multiple"
+ name="ldap_groupfilter_groups">
+ </select>
+ </p>
+ <p>
+ <label><a id='toggleRawGroupFilter'>↓ <?php p($l->t('Edit raw filter instead'));?></a></label>
+ </p>
+ <p id="rawGroupFilterContainer" class="invisible">
+ <input type="text" id="ldap_group_filter" name="ldap_group_filter"
+ class="lwautosave"
+ placeholder="<?php p($l->t('Raw LDAP filter'));?>"
+ title="<?php p($l->t('The filter specifies which LDAP groups shall have access to the ownCloud instance.'));?>"
+ />
+ </p>
+ <p>
+ <div class="ldapWizardInfo invisible"> </div>
+ </p>
+ <p>
+ <span id="ldap_group_count">0</span> <span><?php p($l->t('group(s) found'));?></span>
+ </p>
+ <?php print_unescaped($_['wizardControls']); ?>
+ </div>
+</fieldset>
\ No newline at end of file
--- /dev/null
+<fieldset id="ldapWizard3">
+ <div>
+ <p>
+ <?php p($l->t('What attribute shall be used as login name:'));?>
+ </p>
+ <p>
+ <label for="ldap_loginfilter_username">
+ <?php p($l->t('LDAP Username:'));?>
+ </label>
+
+ <input type="checkbox" id="ldap_loginfilter_username"
+ name="ldap_loginfilter_username" value="1" class="lwautosave" />
+ </p>
+ <p>
+ <label for="ldap_loginfilter_email">
+ <?php p($l->t('LDAP Email Adress:'));?>
+ </label>
+
+ <input type="checkbox" id="ldap_loginfilter_email"
+ name="ldap_loginfilter_email" value="1" class="lwautosave" />
+ </p>
+ <p>
+ <label for="ldap_loginfilter_attributes">
+ <?php p($l->t('Other Attributes:'));?>
+ </label>
+
+ <select id="ldap_loginfilter_attributes" multiple="multiple"
+ name="ldap_loginfilter_attributes">
+ </select>
+ </p>
+ <p>
+ <div class="ldapWizardInfo invisible"> </div>
+ </p>
+
+ <?php print_unescaped($_['wizardControls']); ?>
+ </div>
+</fieldset>
\ No newline at end of file