]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not display search option in Shares settings 31964/head
authorLouis Chemineau <louis@chmn.me>
Tue, 3 May 2022 15:51:11 +0000 (17:51 +0200)
committerLouis Chemineau <louis@chmn.me>
Tue, 3 May 2022 15:51:11 +0000 (17:51 +0200)
Signed-off-by: Louis Chemineau <louis@chmn.me>
apps/settings/templates/settings/admin/sharing.php

index ccf21893b1c09b6328b52af62dd7e8f1e75a488c..67a846bcc0c90b6f733b1f612f19eac655ab0783 100644 (file)
 } ?> />
                        <label for="shareapi_restrict_user_enumeration_full_match"><?php p($l->t('Allow autocompletion when entering the full name or email address (ignoring missing phonebook match and being in the same group)'));?></label><br />
                </p>
-               <p id="shareapi_restrict_user_enumeration_full_match_userid_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatch'] === 'no') {
-       p('hidden');
-}?>">
-                       <input type="checkbox" name="shareapi_restrict_user_enumeration_full_match_userid" value="1" id="shareapi_restrict_user_enumeration_full_match_userid" class="checkbox"
-                                       <?php if ($_['restrictUserEnumerationFullMatchUserId'] === 'yes') {
-       print_unescaped('checked="checked"');
-} ?> />
-                       <label for="shareapi_restrict_user_enumeration_full_match_userid"><?php p($l->t('Match username when restricting to full match'));?></label><br />
-               </p>
-               <p id="shareapi_restrict_user_enumeration_full_match_email_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatch'] === 'no') {
-       p('hidden');
-}?>">
-                       <input type="checkbox" name="shareapi_restrict_user_enumeration_full_match_email" value="1" id="shareapi_restrict_user_enumeration_full_match_email" class="checkbox"
-                                       <?php if ($_['restrictUserEnumerationFullMatchEmail'] === 'yes') {
-       print_unescaped('checked="checked"');
-} ?> />
-                       <label for="shareapi_restrict_user_enumeration_full_match_email"><?php p($l->t('Match email when restricting to full match'));?></label><br />
-               </p>
-               <p id="shareapi_restrict_user_enumeration_full_match_ignore_second_display_name_setting" class="double-indent <?php if ($_['shareAPIEnabled'] === 'no' || $_['restrictUserEnumerationFullMatch'] === 'no') {
-       p('hidden');
-}?>">
-                       <input type="checkbox" name="shareapi_restrict_user_enumeration_full_match_ignore_second_display_name" value="1" id="shareapi_restrict_user_enumeration_full_match_ignore_second_display_name" class="checkbox"
-                                       <?php if ($_['restrictUserEnumerationFullMatchIgnoreSecondDisplayName'] === 'yes') {
-       print_unescaped('checked="checked"');
-} ?> />
-                       <label for="shareapi_restrict_user_enumeration_full_match_ignore_second_display_name"><?php p($l->t('Ignore second display name in parentheses if any (example: "First display name (second ignored display name)")'));?></label><br />
-               </p>
 
                <p>
                        <input type="checkbox" id="publicShareDisclaimer" class="checkbox noJSAutoUpdate"