settings-admin.php 816 B

123456789101112131415161718192021222324
  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="replyToInitiator" type="checkbox" class="checkbox" <?php if ($_['replyToInitiator']) {
  16. p('checked');
  17. } ?> />
  18. <label for="replyToInitiator"><?php p($l->t('Reply to initiator')); ?></label>
  19. </p>
  20. </div>