|
|
|
@ -61,11 +61,14 @@ $list->assign( "files", $files ); |
|
|
|
|
$breadcrumbNav = new OC_TEMPLATE( "files", "part.breadcrumb", "" ); |
|
|
|
|
$breadcrumbNav->assign( "breadcrumb", $breadcrumb ); |
|
|
|
|
|
|
|
|
|
$maxUploadFilesize = OC_HELPER::computerFileSize(ini_get('upload_max_filesize')); |
|
|
|
|
|
|
|
|
|
$tmpl = new OC_TEMPLATE( "files", "index", "user" ); |
|
|
|
|
$tmpl->assign( "fileList", $list->fetchPage() ); |
|
|
|
|
$tmpl->assign( "breadcrumb", $breadcrumbNav->fetchPage() ); |
|
|
|
|
$tmpl->assign( 'dir', $dir); |
|
|
|
|
$tmpl->assign( 'uploadMaxFilesize', OC_HELPER::computerFileSize(ini_get('upload_max_filesize'))); |
|
|
|
|
$tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize); |
|
|
|
|
$tmpl->assign( 'uploadMaxHumanFilesize', OC_HELPER::humanFileSize($maxUploadFilesize)); |
|
|
|
|
$tmpl->printPage(); |
|
|
|
|
|
|
|
|
|
?> |
|
|
|
|