diff options
author | Vincent Petry <pvince81@owncloud.com> | 2013-10-21 11:46:01 -0700 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2013-10-21 11:46:01 -0700 |
commit | bd7cf436c684918c8b0ed0390f1bbd3d34eb2e65 (patch) | |
tree | 02db2a1fed4528b9f22e6fd217965831aea53f19 /apps | |
parent | a376407da3dcac86f5a2ab41f23545ff6c4b21d9 (diff) | |
parent | f8717bc26005912f14fb0da52b7dd66f86f3b929 (diff) | |
download | nextcloud-server-bd7cf436c684918c8b0ed0390f1bbd3d34eb2e65.tar.gz nextcloud-server-bd7cf436c684918c8b0ed0390f1bbd3d34eb2e65.zip |
Merge pull request #5441 from owncloud/files-sharewithlinkasnormaluserfix
Fixed share with link checkbox missing as regular user
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/index.php | 1 | ||||
-rw-r--r-- | apps/files/templates/index.php | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/index.php b/apps/files/index.php index 8d877be8ac9..2f1e084560b 100644 --- a/apps/files/index.php +++ b/apps/files/index.php @@ -138,6 +138,7 @@ if ($needUpgrade) { $tmpl->assign('publicUploadEnabled', $publicUploadEnabled); $tmpl->assign("encryptedFiles", \OCP\Util::encryptedFiles()); $tmpl->assign("mailNotificationEnabled", \OC_Appconfig::getValue('core', 'shareapi_allow_mail_notification', 'yes')); + $tmpl->assign("allowShareWithLink", \OC_Appconfig::getValue('core', 'shareapi_allow_links', 'yes')); $tmpl->assign("encryptionInitStatus", $encryptionInitStatus); $tmpl->assign('disableSharing', false); $tmpl->assign('ajaxLoad', $ajaxLoad); diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index 32a59f1e1a6..001adb77ab5 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -114,3 +114,5 @@ <input type="hidden" name="encryptedFiles" id="encryptedFiles" value="<?php $_['encryptedFiles'] ? p('1') : p('0'); ?>" /> <input type="hidden" name="encryptedInitStatus" id="encryptionInitStatus" value="<?php p($_['encryptionInitStatus']) ?>" /> <input type="hidden" name="mailNotificationEnabled" id="mailNotificationEnabled" value="<?php p($_['mailNotificationEnabled']) ?>" /> +<input type="hidden" name="allowShareWithLink" id="allowShareWithLink" value="<?php p($_['allowShareWithLink']) ?>" /> + |