remotes/origin/stable4
parent
9326f4f535
commit
0bd7d14b7a
@ -0,0 +1,9 @@ |
||||
<?php |
||||
|
||||
OCP\JSON::checkAppEnabled('files_sharing'); |
||||
OCP\JSON::checkAdminUser(); |
||||
if ($_POST['allowSharingWithEveryone'] == true) { |
||||
OCP\Config::setAppValue('files_sharing', 'allowSharingWithEveryone', 'yes'); |
||||
} else { |
||||
OCP\Config::setAppValue('files_sharing', 'allowSharingWithEveryone', 'no'); |
||||
} |
||||
@ -1,6 +1,8 @@ |
||||
<form id="resharing"> |
||||
<fieldset class="personalblock"> |
||||
<input type="checkbox" name="allowResharing" id="allowResharing" value="1" <?php if ($_['allowResharing'] == 'yes') echo ' checked="checked"'; ?> /> <label for="allowResharing"><?php echo $l->t('Enable Resharing'); ?></label> <br/>
|
||||
<em><?php echo $l->t('Allow users to reshare files they don\'t own');?></em>
|
||||
<p><input type="checkbox" name="allowResharing" id="allowResharing" value="1" <?php if ($_['allowResharing'] == 'yes') echo ' checked="checked"'; ?> /> <label for="allowResharing"><?php echo $l->t('Enable Resharing'); ?></label> <br/>
|
||||
<em><?php echo $l->t('Allow users to reshare files they don\'t own');?></em></p>
|
||||
<p><input type="checkbox" name="allowSharingWithEveryone" id="allowSharingWithEveryone" value="1" <?php if ($_['allowSharingWithEveryone'] == 'yes') echo ' checked="checked"'; ?> /> <label for="allowSharingWithEveryone"><?php echo $l->t('Enable sharing with everyone'); ?></label> <br/>
|
||||
<em><?php echo $l->t('Allow users to share files with everyone');?></em></p>
|
||||
</fieldset> |
||||
</form> |
||||
Loading…
Reference in new issue