aboutsummaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-08-30 13:53:49 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-08-30 13:53:49 +0200
commit77adaee6457c3e17d0f0b32c74da4cdbfce60164 (patch)
treefc793d2965d0a9541a183f620a63dae3ea2bfb0b /settings/admin.php
parent0a23ac18bc1f74cea98eed2c37aa03c99fd957f7 (diff)
downloadnextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.tar.gz
nextcloud-server-77adaee6457c3e17d0f0b32c74da4cdbfce60164.zip
enable user to inform recipients about a shared file by mail
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-xsettings/admin.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/settings/admin.php b/settings/admin.php
index 869729a9e41..38b77a615dd 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -33,16 +33,17 @@ $tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enable
// Check if connected using HTTPS
if (OC_Request::serverProtocol() === 'https') {
- $connectedHTTPS = true;
+ $connectedHTTPS = true;
} else {
$connectedHTTPS = false;
-}
+}
$tmpl->assign('isConnectedViaHTTPS', $connectedHTTPS);
$tmpl->assign('enforceHTTPSEnabled', OC_Config::getValue( "forcessl", false));
$tmpl->assign('allowLinks', OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes'));
$tmpl->assign('allowPublicUpload', OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes'));
$tmpl->assign('allowResharing', OC_Appconfig::getValue('core', 'shareapi_allow_resharing', 'yes'));
+$tmpl->assign('allowMailNotification', OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'yes'));
$tmpl->assign('sharePolicy', OC_Appconfig::getValue('core', 'shareapi_share_policy', 'global'));
$tmpl->assign('forms', array());
foreach($forms as $form) {