summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-06-02 14:37:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-06-02 14:37:10 +0200
commit6f4bdbdb9495227c1ad1bf170ad9caeddea127c7 (patch)
tree5ade5bbd941da3a80f9166a29f98fc76e3cd7684 /settings/templates/admin.php
parentf0e69b2b99174c29859729c0d91d8b4a97c6f28b (diff)
parentc01f196f723dcb3dea6947c821a70d4d80563bbd (diff)
downloadnextcloud-server-6f4bdbdb9495227c1ad1bf170ad9caeddea127c7.tar.gz
nextcloud-server-6f4bdbdb9495227c1ad1bf170ad9caeddea127c7.zip
Merge pull request #8784 from owncloud/fold-reshare-settings
make reshare settings foldable
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r--settings/templates/admin.php18
1 files changed, 8 insertions, 10 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index a86fe9c0ac7..cb57bc0ce72 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -263,16 +263,14 @@ if (!$_['internetconnectionworking']) {
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>
- </td>
- </tr>
- <tr>
- <td <?php if ($_['shareAPIEnabled'] === 'no') print_unescaped('class="hidden"');?>>
- <input type="radio" name="shareapi_share_policy" id="sharePolicyGlobal"
- value="global" <?php if ($_['sharePolicy'] === 'global') print_unescaped('checked="checked"'); ?> />
- <label for="sharePolicyGlobal"><?php p($l->t('Allow users to share with anyone')); ?></label><br/>
- <input type="radio" name="shareapi_share_policy" id="sharePolicyGroupsOnly"
- value="groups_only" <?php if ($_['sharePolicy'] === 'groups_only') print_unescaped('checked="checked"'); ?> />
- <label for="sharePolicyGroupsOnly"><?php p($l->t('Allow users to only share with users in their groups'));?></label><br/>
+ <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"'); ?> />
+ <label for="sharePolicyGlobal"><?php p($l->t('Allow users to share with anyone')); ?></label><br/>
+ <input type="radio" name="shareapi_share_policy" id="sharePolicyGroupsOnly"
+ value="groups_only" <?php if ($_['sharePolicy'] === 'groups_only') print_unescaped('checked="checked"'); ?> />
+ <label for="sharePolicyGroupsOnly"><?php p($l->t('Allow users to only share with users in their groups'));?></label><br/>
+ </div>
</td>
</tr>
<tr>