]> source.dussan.org Git - nextcloud-server.git/commitdiff
improve share settings working
authorBjoern Schiessle <schiessle@owncloud.com>
Tue, 3 Jun 2014 18:41:12 +0000 (20:41 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 5 Jun 2014 13:44:55 +0000 (15:44 +0200)
settings/templates/admin.php

index 8ed22e98b521bb4729688f5be67249bfde7bc090..e6438da79881766613eb6280d269e9d24415bc06 100644 (file)
@@ -237,15 +237,14 @@ if (!$_['internetconnectionworking']) {
                        <td id="enable">
                                <input type="checkbox" name="shareapi_enabled" id="shareAPIEnabled"
                                           value="1" <?php if ($_['shareAPIEnabled'] === 'yes') print_unescaped('checked="checked"'); ?> />
-                               <label for="shareAPIEnabled"><?php p($l->t('Enable Share API'));?></label><br/>
-                               <em><?php p($l->t('Allow apps to use the Share API')); ?></em>
+                               <label for="shareAPIEnabled"><?php p($l->t('Allow apps to use the Share API'));?></label><br/>
                        </td>
                </tr>
                <tr>
                        <td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>>
                                <input type="checkbox" name="shareapi_allow_links" id="allowLinks"
                                           value="1" <?php if ($_['allowLinks'] === 'yes') print_unescaped('checked="checked"'); ?> />
-                               <label for="allowLinks"><?php p($l->t('Allow links'));?></label><br/>
+                               <label for="allowLinks"><?php p($l->t('Allow users to share via link'));?></label><br/>
                                <div <?php ($_['allowLinks'] === 'yes') ? print_unescaped('class="indent"') : print_unescaped('class="hidden indent"');?> id="publicLinkSettings">
                                <input type="checkbox" name="shareapi_enforce_links_password" id="enforceLinkPassword"
                                                   value="1" <?php if ($_['enforceLinkPassword']) print_unescaped('checked="checked"'); ?> />
@@ -268,7 +267,6 @@ if (!$_['internetconnectionworking']) {
                                </div>
 
                                </div>
-                               <em><?php p($l->t('Allow users to share items to the public with links')); ?></em>
                        </td>
                </tr>
                <tr>
@@ -276,7 +274,6 @@ if (!$_['internetconnectionworking']) {
                                <input type="checkbox" name="shareapi_allow_resharing" id="allowResharing"
                                           value="1" <?php if ($_['allowResharing'] === 'yes') print_unescaped('checked="checked"'); ?> />
                                <label for="allowResharing"><?php p($l->t('Allow resharing'));?></label><br/>
-                               <em><?php p($l->t('Allow users to share items shared with them again')); ?></em>
                                <div id="resharingSettings" <?php ($_['allowResharing'] === 'yes') ? print_unescaped('class="indent"') : print_unescaped('class="hidden indent"');?>>
                                        <input type="radio" name="shareapi_share_policy" id="sharePolicyGlobal"
                                                    value="global" <?php if ($_['sharePolicy'] === 'global') print_unescaped('checked="checked"'); ?> />