diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-08-30 13:53:49 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-08-30 13:53:49 +0200 |
commit | 77adaee6457c3e17d0f0b32c74da4cdbfce60164 (patch) | |
tree | fc793d2965d0a9541a183f620a63dae3ea2bfb0b /apps | |
parent | 0a23ac18bc1f74cea98eed2c37aa03c99fd957f7 (diff) | |
download | nextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.tar.gz nextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.zip |
enable user to inform recipients about a shared file by mail
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/index.php | 3 | ||||
-rw-r--r-- | apps/files/templates/index.php | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index e4d8e353858..7f5f9ec4741 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -131,7 +131,7 @@ if ($needUpgrade) { if ($trashEnabled) { $trashEmpty = \OCA\Files_Trashbin\Trashbin::isEmpty($user); } - + OCP\Util::addscript('files', 'fileactions'); OCP\Util::addscript('files', 'files'); OCP\Util::addscript('files', 'keyboardshortcuts'); @@ -151,5 +151,6 @@ if ($needUpgrade) { $tmpl->assign('isPublic', false); $tmpl->assign('publicUploadEnabled', $publicUploadEnabled); $tmpl->assign("encryptedFiles", \OCP\Util::encryptedFiles()); + $tmpl->assign("mailNotificationEnabled", \OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'yes')); $tmpl->printPage(); } diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 360874103f8..e3fcecbe47a 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -120,3 +120,4 @@ <input type="hidden" name="allowZipDownload" id="allowZipDownload" value="<?php p($_['allowZipDownload']); ?>" /> <input type="hidden" name="usedSpacePercent" id="usedSpacePercent" value="<?php p($_['usedSpacePercent']); ?>" /> <input type="hidden" name="encryptedFiles" id="encryptedFiles" value="<?php $_['encryptedFiles'] ? p('1') : p('0'); ?>" /> +<input type="hidden" name="mailNotificationEnabled" id="mailNotificationEnabled" value="<?php p($_['mailNotificationEnabled']) ?>" /> |