Sharing: Define missing template vars

This commit is contained in:
Bart Visscher 2012-04-14 11:33:27 +02:00
parent 137dce87fc
commit 7504ceb6f2
1 changed files with 2 additions and 0 deletions

View File

@ -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