]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix typo - Backups -> Backends
authorMorris Jobke <hey@morrisjobke.de>
Mon, 16 Jun 2014 09:33:51 +0000 (11:33 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 16 Jun 2014 09:33:51 +0000 (11:33 +0200)
apps/files_external/css/settings.css
apps/files_external/js/settings.js
apps/files_external/templates/settings.php

index ea0b70ea596748f7f826e8f25cc3f298412ea383..758c52ae8524138c06574933d1be182a2ca99833 100644 (file)
@@ -26,6 +26,6 @@ tr:hover>td.remove>img { visibility:visible; cursor:pointer; }
        border-radius: 50%;
 }
 
-#userMountingBackups {
+#userMountingBackends {
        padding-left: 25px;
 }
index 29081772d68bd3ab1878711ee2abb18017f399ba..e5cb373a5b78bf7de70062908768c46c1feba39f 100644 (file)
@@ -311,11 +311,11 @@ $(document).ready(function() {
                if (this.checked) {
                        OC.AppConfig.setValue('files_external', 'allow_user_mounting', 'yes');
                        $('input[name="allowUserMountingBackends\\[\\]"]').prop('checked', true);
-                       $('#userMountingBackups').removeClass('hidden');
+                       $('#userMountingBackends').removeClass('hidden');
                        $($('input[name="allowUserMountingBackends\\[\\]"]')[0]).trigger('change');
                } else {
                        OC.AppConfig.setValue('files_external', 'allow_user_mounting', 'no');
-                       $('#userMountingBackups').addClass('hidden');
+                       $('#userMountingBackends').addClass('hidden');
                }
                OC.msg.finishedSaving('#userMountingMsg', {status: 'success', data: {message: t('settings', 'Saved')}});
        });
index df80ed109931a8ee0f344561f578586bda9cf0dd..98fcf4a0ed499201089c333142396eb42eaa024b 100644 (file)
                        value="1" <?php if ($_['allowUserMounting'] == 'yes') print_unescaped(' checked="checked"'); ?> />
                <label for="allowUserMounting"><?php p($l->t('Enable User External Storage')); ?></label> <span id="userMountingMsg" class="msg"></span>
 
-               <p id="userMountingBackups"<?php if ($_['allowUserMounting'] != 'yes'): ?> class="hidden"<?php endif; ?>>
+               <p id="userMountingBackends"<?php if ($_['allowUserMounting'] != 'yes'): ?> class="hidden"<?php endif; ?>>
                        <?php p($l->t('Allow users to mount the following external storage')); ?><br />
                        <?php $i = 0; foreach ($_['personal_backends'] as $class => $backend): ?>
                                <input type="checkbox" id="allowUserMountingBackends<?php p($i); ?>" name="allowUserMountingBackends[]" value="<?php p($class); ?>" <?php if ($backend['enabled']) print_unescaped(' checked="checked"'); ?> />