diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-03 20:41:12 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-05 15:44:55 +0200 |
commit | c991e148a6a50cefcf7cff3a9b0aa911c398dede (patch) | |
tree | 05b3689c372258a4e9ed8977314e2ba3895f759e /settings | |
parent | 0ce1f34f8a8b7a42d3c4482d9c09be93aa31768c (diff) | |
download | nextcloud-server-c991e148a6a50cefcf7cff3a9b0aa911c398dede.tar.gz nextcloud-server-c991e148a6a50cefcf7cff3a9b0aa911c398dede.zip |
improve share settings working
Diffstat (limited to 'settings')
-rw-r--r-- | settings/templates/admin.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 8ed22e98b52..e6438da7988 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -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"'); ?> /> |