]> source.dussan.org Git - nextcloud-server.git/commitdiff
Wizard does not need data-defaults here
authorArthur Schiwon <blizzz@owncloud.com>
Wed, 9 Oct 2013 21:04:06 +0000 (23:04 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Thu, 17 Oct 2013 17:13:28 +0000 (19:13 +0200)
apps/user_ldap/templates/part.wizard-server.php
apps/user_ldap/templates/part.wizard-userfilter.php

index 92c02177504ba087a0dd87ad2927779f9bb42e28..01dd8d0fcb24eea9f9cbcb2a1e84ddfd3e2f04ef 100644 (file)
                                        <div class="table">
                                                <input type="text" class="host tablecell lwautosave" id="ldap_host"
                                                        name="ldap_host"
-                                                       data-default="<?php p($_['ldap_host_default']); ?>"
                                                        placeholder="<?php p($l->t('Host'));?>"
                                                        title="<?php p($l->t('You can omit the protocol, except you require SSL. Then start with ldaps://'));?>"
                                                        />
                                                <span>
                                                        <input type="number" id="ldap_port" name="ldap_port"
                                                                class="invisible lwautosave"
-                                                               data-default="<?php p($_['ldap_port_default']); ?>"
                                                                placeholder="<?php p($l->t('Port'));?>" />
                                                </span>
                                        </div>
@@ -43,7 +41,6 @@
                        <div class="tablerow">
                                <input type="text" id="ldap_dn" name="ldap_dn"
                                class="tablecell lwautosave"
-                               data-default="<?php p($_['ldap_dn_default']); ?>"
                                placeholder="<?php p($l->t('User DN'));?>"
                                title="<?php p($l->t('The DN of the client user with which the bind shall be done, e.g. uid=agent,dc=example,dc=com. For anonymous access, leave DN and Password empty.'));?>"
                                />
@@ -52,7 +49,6 @@
                        <div class="tablerow">
                                <input type="password" id="ldap_agent_password"
                                class="tablecell lwautosave" name="ldap_agent_password"
-                               data-default="<?php p($_['ldap_agent_password_default']); ?>"
                                placeholder="<?php p($l->t('Password'));?>"
                                title="<?php p($l->t('For anonymous access, leave DN and Password empty.'));?>"
                                />
@@ -62,8 +58,7 @@
                                <textarea id="ldap_base" name="ldap_base"
                                        class="tablecell invisible lwautosave"
                                        placeholder="<?php p($l->t('One Base DN per line'));?>"
-                                       title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>"
-                                       data-default="<?php p($_['ldap_base_default']); ?>" >
+                                       title="<?php p($l->t('You can specify Base DN for users and groups in the Advanced tab'));?>">
                                </textarea>
                        </div>
 
index 879af95b2bca2084239af2b34932c00a17829a70..85c870b5de37721cca2c4377b485baadd7fdc141 100644 (file)
@@ -1,49 +1,39 @@
 <fieldset id="ldapWizard2">
-
        <div>
                <p>
                        <?php p($l->t('Limit the access to ownCloud to users meeting this criteria:'));?>
                </p>
-
                <p>
                        <label for="ldap_userfilter_objectclass">
                                <?php p($l->t('only those object classes:'));?>
                        </label>
 
                        <select id="ldap_userfilter_objectclass" multiple="multiple"
-                        name="ldap_userfilter_objectclass"
-                        data-default="<?php p($_['ldap_userfilter_objectclass_default']); ?>">
+                        name="ldap_userfilter_objectclass">
                        </select>
                </p>
-
                <p>
                        <label for="ldap_userfilter_groups">
                                <?php p($l->t('only from those groups:'));?>
                        </label>
 
                        <select id="ldap_userfilter_groups" multiple="multiple"
-                        name="ldap_userfilter_groups"
-                        data-default="<?php p($_['ldap_userfilter_groups_default']); ?>">
+                        name="ldap_userfilter_groups">
                        </select>
                </p>
-
                <p>
                        <label><a id='toggleRawUserFilter'>↓ <?php p($l->t('Edit raw filter instead'));?></a></label>
                </p>
-
                <p id="rawUserFilterContainer" class="invisible">
                        <input type="text" id="ldap_userlist_filter" name="ldap_userlist_filter"
                        class="lwautosave"
-                       data-default="<?php p($_['ldap_userlist_filter_default']); ?>"
                        placeholder="<?php p($l->t('Raw LDAP filter'));?>"
                        title="<?php p($l->t('The filter specifies which LDAP users shall have access to the ownCloud instance.'));?>"
                        />
                </p>
-
                <p>
                        <div class="ldapWizardInfo invisible">&nbsp;</div>
                </p>
-
                <p>
                        <span id="ldap_user_count">0</span> <span><?php p($l->t('user(s) found'));?></span>
                </p>