From 67638ff11edfe6d60eb7fa4e48ec7294c7a526e7 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Mon, 27 Nov 2006 13:37:24 +0000 Subject: [PATCH] Print a message at the end of Bulk Export to show the way back to the original folder. --- plugins/ktstandard/KTBulkExportPlugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/ktstandard/KTBulkExportPlugin.php b/plugins/ktstandard/KTBulkExportPlugin.php index dcfdfe8..9c10412 100644 --- a/plugins/ktstandard/KTBulkExportPlugin.php +++ b/plugins/ktstandard/KTBulkExportPlugin.php @@ -161,7 +161,9 @@ class KTBulkExportAction extends KTFolderAction { )); $url = KTUtil::addQueryStringSelf(sprintf('action=downloadZipFile&fFolderId=%d&exportcode=%s', $this->oFolder->getId(), $sExportCode)); - printf(_kt('Go here to download the zip file if you are not automatically redirected there'), $url); + printf('

' . _kt('Go here to download the zip file if you are not automatically redirected there') . "

\n", $url); + $folderurl = KTBrowseUtil::getUrlForFolder($oFolder); + printf('

' . _kt('Once downloaded, return to the original folder') . "

\n", $folderurl); printf("\n"); printf('