Link to previous directory

This commit is contained in:
Lukas Reschke 2014-04-16 21:10:14 +02:00
parent 2bda3f9ae0
commit 81c23b02da
1 changed files with 2 additions and 2 deletions

View File

@ -231,7 +231,7 @@ class OC_Files {
OC_Template::printErrorPage(
$l->t('ZIP download is turned off.'),
$l->t('Files need to be downloaded one by one.')
. '<br/><a href="'.OCP\Util::linkTo('files', '').'">' . $l->t('Back to Files') . '</a>'
. '<br/><a href="'.OCP\Util::linkTo('files', 'index.php', array('dir' => $dir)).'">' . $l->t('Back to Files') . '</a>'
);
exit;
}
@ -258,7 +258,7 @@ class OC_Files {
OC_Template::printErrorPage(
$l->t('Selected files too large to generate zip file.'),
$l->t('Please download the files separately in smaller chunks or kindly ask your administrator.')
. '<br/><a href="'.OCP\Util::linkTo('files', '').'">' . $l->t('Back to Files') . '</a>'
. '<br/><a href="'.OCP\Util::linkTo('files', 'index.php', array('dir' => $dir)).'">' . $l->t('Back to Files') . '</a>'
);
exit;
}