diff options
Diffstat (limited to 'apps/files_sharing/get.php')
-rw-r--r-- | apps/files_sharing/get.php | 2 |
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 |