settings-admin.php 851 B

1234567891011121314151617181920212223
  1. <?php
  2. /** @var array $_ */
  3. /** @var \OCP\IL10N $l */
  4. script('sharebymail', 'settings-admin');
  5. style('sharebymail', 'settings-admin');
  6. ?>
  7. <div id="ncShareByMailSettings" class="section">
  8. <h2><?php p($l->t('Share by mail')); ?></h2>
  9. <p class="settings-hint"><?php p($l->t('Allows users to share a personalized link to a file or folder by putting in an email address.')); ?></p>
  10. <p>
  11. <input id="sendPasswordMail" type="checkbox" class="checkbox" <?php if ($_['sendPasswordMail']) {
  12. p('checked');
  13. } ?> />
  14. <label for="sendPasswordMail"><?php p($l->t('Send password by mail')); ?></label><br/>
  15. <input id="enforcePasswordProtection" type="checkbox" class="checkbox" <?php if ($_['enforcePasswordProtection']) {
  16. p('checked');
  17. } ?> />
  18. <label for="enforcePasswordProtection"><?php p($l->t('Enforce password protection')); ?></label>
  19. </p>
  20. </div>