aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/get.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-24 18:43:02 +0200
committerFlorian Pritz <bluewind@xinu.at>2011-09-24 18:43:02 +0200
commit793e29e1245d079f89505294bef47f01c9111e8b (patch)
tree70c66381ebb5221547e881c99dc2b435e26e97e4 /apps/files_sharing/get.php
parentf65d0e4f80eba0d24ee48f16a22d290fb1f334b3 (diff)
parent842ce24d2b17685c27eabdd2d0bb01899efdbc6f (diff)
downloadnextcloud-server-793e29e1245d079f89505294bef47f01c9111e8b.tar.gz
nextcloud-server-793e29e1245d079f89505294bef47f01c9111e8b.zip
Merge branch 'working'
Diffstat (limited to 'apps/files_sharing/get.php')
-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 a1b6c316cd5..33918bf9e7d 100644
--- a/apps/files_sharing/get.php
+++ b/apps/files_sharing/get.php
@@ -56,9 +56,11 @@ if ($source !== false) {
$list->assign("files", $files);
$list->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
$list->assign("downloadURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");
+ $list->assign("readonly", true);
$tmpl = new OC_Template("files", "index", "user");
$tmpl->assign("fileList", $list->fetchPage());
$tmpl->assign("breadcrumb", $breadcrumbNav->fetchPage());
+ $tmpl->assign("readonly", true);
$tmpl->printPage();
} else {
//get time mimetype and set the headers