2017-03-30 16:23:44 +03:00
|
|
|
<?php
|
|
|
|
/** @var array $_ */
|
|
|
|
use OCA\Federation\TrustedServers;
|
|
|
|
|
|
|
|
/** @var \OCP\IL10N $l */
|
|
|
|
script('sharebymail', 'settings-admin');
|
2017-04-10 19:36:23 +03:00
|
|
|
style('sharebymail', 'settings-admin');
|
2017-03-30 16:23:44 +03:00
|
|
|
?>
|
|
|
|
<div id="ncShareByMailSettings" class="section">
|
|
|
|
<h2><?php p($l->t('Share by mail')); ?></h2>
|
2017-04-25 18:45:02 +03:00
|
|
|
<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>
|
2017-03-30 16:23:44 +03:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<input id="sendPasswordMail" type="checkbox" class="checkbox" <?php if($_['sendPasswordMail']) p('checked'); ?> />
|
2017-04-10 19:36:23 +03:00
|
|
|
<label for="sendPasswordMail"><?php p($l->t('Send password by mail')); ?></label><br/>
|
|
|
|
<input id="enforcePasswordProtection" type="checkbox" class="checkbox" <?php if($_['enforcePasswordProtection']) p('checked'); ?> />
|
|
|
|
<label for="enforcePasswordProtection"><?php p($l->t('Enforce password protection')); ?></label>
|
2017-03-30 16:23:44 +03:00
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|