settings-admin.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /** @var \OCP\IL10N $l */
  3. /** @var array $_ */
  4. script('federatedfilesharing', 'settings-admin');
  5. ?>
  6. <div id="fileSharingSettings" class="followupsection">
  7. <h3><?php p($l->t('Federated Cloud Sharing'));?></h3>
  8. <a target="_blank" rel="noreferrer" class="icon-info svg"
  9. title="<?php p($l->t('Open documentation'));?>"
  10. href="<?php p(link_to_docs('admin-sharing-federated')); ?>"></a>
  11. <p>
  12. <input type="checkbox" name="outgoing_server2server_share_enabled" id="outgoingServer2serverShareEnabled" class="checkbox"
  13. value="1" <?php if ($_['outgoingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
  14. <label for="outgoingServer2serverShareEnabled">
  15. <?php p($l->t('Allow users on this server to send shares to other servers'));?>
  16. </label>
  17. </p>
  18. <p>
  19. <input type="checkbox" name="incoming_server2server_share_enabled" id="incomingServer2serverShareEnabled" class="checkbox"
  20. value="1" <?php if ($_['incomingServer2serverShareEnabled']) print_unescaped('checked="checked"'); ?> />
  21. <label for="incomingServer2serverShareEnabled">
  22. <?php p($l->t('Allow users on this server to receive shares from other servers'));?>
  23. </label><br/>
  24. </p>
  25. <p>
  26. <input type="checkbox" name="lookupServerEnabled" id="lookupServerEnabled" class="checkbox"
  27. value="1" <?php if ($_['lookupServerEnabled']) print_unescaped('checked="checked"'); ?> />
  28. <label for="lookupServerEnabled">
  29. <?php p($l->t('Search global and public address book for users'));?>
  30. </label><br/>
  31. </p>
  32. </div>