Remove some scripts, now you can actually download the files in a public link folder

This commit is contained in:
Michael Gapczynski 2011-08-18 19:44:00 -04:00
parent d1aebcddf2
commit a57d4726bc
1 changed files with 2 additions and 4 deletions

View File

@ -40,17 +40,15 @@ if ($source !== false) {
}
// Make breadcrumb
$breadcrumb = array();
$pathtohere = "/";
$pathtohere = "";
foreach (explode("/", $subPath) as $i) {
if ($i != "") {
$pathtohere .= "$i/";
$pathtohere .= "/$i";
$breadcrumb[] = array("dir" => $pathtohere, "name" => $i);
}
}
// Load the files we need
OC_Util::addStyle("files", "files");
OC_Util::addScript("files", "files");
OC_Util::addScript("files", "filelist");
$breadcrumbNav = new OC_Template("files", "part.breadcrumb", "");
$breadcrumbNav->assign("breadcrumb", $breadcrumb);
$breadcrumbNav->assign("baseURL", OC_Helper::linkTo("files_sharing", "get.php")."?token=".$token."&path=");