From 6bb95de1c50208d6cbaf1242f86a2fdab09c2246 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 8 Sep 2016 09:13:59 +0200 Subject: Adding a optional disclaimer to the anonymous upload page --- apps/files_sharing/lib/Controllers/ShareController.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/files_sharing/lib/Controllers') diff --git a/apps/files_sharing/lib/Controllers/ShareController.php b/apps/files_sharing/lib/Controllers/ShareController.php index cd0d40048cf..5ccaab746fc 100644 --- a/apps/files_sharing/lib/Controllers/ShareController.php +++ b/apps/files_sharing/lib/Controllers/ShareController.php @@ -357,6 +357,7 @@ class ShareController extends Controller { $shareTmpl['previewEnabled'] = $this->config->getSystemValue('enable_previews', true); $shareTmpl['previewMaxX'] = $this->config->getSystemValue('preview_max_x', 1024); $shareTmpl['previewMaxY'] = $this->config->getSystemValue('preview_max_y', 1024); + $shareTmpl['disclaimer'] = $this->config->getAppValue('core', 'shareapi_public_link_disclaimertext', null); // Load files we need \OCP\Util::addScript('files', 'file-upload'); -- cgit v1.2.3