summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-03-30 15:23:44 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-04-03 10:29:33 +0200
commitdac6826ad7ba54c5ed8bc81d09f2497ae2b0ec6f (patch)
tree86a0a5b4ffbcb37840ee301e9eec8e94245fd279 /apps/sharebymail/templates
parent99ebdc1111718848587d539b56a1d924ab48017a (diff)
downloadnextcloud-server-dac6826ad7ba54c5ed8bc81d09f2497ae2b0ec6f.tar.gz
nextcloud-server-dac6826ad7ba54c5ed8bc81d09f2497ae2b0ec6f.zip
setting to disable sending password by mail
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps/sharebymail/templates')
-rw-r--r--apps/sharebymail/templates/settings-admin.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/sharebymail/templates/settings-admin.php b/apps/sharebymail/templates/settings-admin.php
new file mode 100644
index 00000000000..c4e41086063
--- /dev/null
+++ b/apps/sharebymail/templates/settings-admin.php
@@ -0,0 +1,18 @@
+<?php
+/** @var array $_ */
+use OCA\Federation\TrustedServers;
+
+/** @var \OCP\IL10N $l */
+script('sharebymail', 'settings-admin');
+?>
+<div id="ncShareByMailSettings" class="section">
+ <h2><?php p($l->t('Share by mail')); ?></h2>
+ <em><?php p($l->t('Send a personalized link to a file or folder by mail.')); ?></em>
+
+ <p>
+ <input id="sendPasswordMail" type="checkbox" class="checkbox" <?php if($_['sendPasswordMail']) p('checked'); ?> />
+ <label for="sendPasswordMail"><?php p($l->t('Send password by mail')); ?></label>
+ </p>
+
+</div>
+