Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-04-14 13:33:27 +0400
committerBart Visscher <bartv@thisnet.nl>2012-04-14 14:45:32 +0400
commit7504ceb6f2200b15efa344dd4d4d8bf5c511018a (patch)
tree08274fc5b5f5afbced06161d2578d08387b16e4d /apps/files_sharing
parent137dce87fc6be1b2263bc2ca61175d0d89af0b1c (diff)
Sharing: Define missing template vars
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/get.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_sharing/get.php b/apps/files_sharing/get.php
index 3a3db6dd38e..fa3535fd144 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -62,6 +62,8 @@ if ($source !== false) {
$tmpl->assign("fileList", $list->fetchPage());
$tmpl->assign("breadcrumb", $breadcrumbNav->fetchPage());
$tmpl->assign("readonly", true);
+ $tmpl->assign("allowZipDownload", false);
+ $tmpl->assign("dir", 'shared dir');
$tmpl->printPage();
} else {
//get time mimetype and set the headers