From 449bc717ae7be8f822e784dbd18ae853cdf65ac7 Mon Sep 17 00:00:00 2001 From: ChuJilu Date: Mon, 3 Nov 2014 09:33:42 +0800 Subject: [PATCH] * finish task 2109. --- module/file/view/printfiles.html.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/file/view/printfiles.html.php b/module/file/view/printfiles.html.php index ace1d1de3c..2a5556afc9 100644 --- a/module/file/view/printfiles.html.php +++ b/module/file/view/printfiles.html.php @@ -35,11 +35,12 @@ function downloadFile(fileID) if(common::hasPriv('file', 'download')) { echo "
  •  "; - echo '' . html::a($this->createLink('file', 'download', "fileID=$file->id") . $sessionString, $file->title .'.' . $file->extension, '_blank', "onclick='return downloadFile($file->id)'") . ''; echo ""; common::printLink('file', 'edit', "fileID=$file->id", "", '', "class='edit btn-icon' title='{$lang->file->edit}'"); if(common::hasPriv('file', 'delete')) echo html::a('###', "", '', "class='btn-icon' onclick='deleteFile($file->id)' title='$lang->delete'"); - echo '
  • '; + echo ''; + echo '' . html::a($this->createLink('file', 'download', "fileID=$file->id") . $sessionString, $file->title .'.' . $file->extension, '_blank', "onclick='return downloadFile($file->id)'") . ''; + echo ''; } } ?>