Commit 67638ff11edfe6d60eb7fa4e48ec7294c7a526e7

Authored by Neil Blakey-Milner
1 parent 27e3f4e2

Print a message at the end of Bulk Export to show the way back to the

original folder.


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6066 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/KTBulkExportPlugin.php
@@ -161,7 +161,9 @@ class KTBulkExportAction extends KTFolderAction { @@ -161,7 +161,9 @@ class KTBulkExportAction extends KTFolderAction {
161 )); 161 ));
162 162
163 $url = KTUtil::addQueryStringSelf(sprintf('action=downloadZipFile&fFolderId=%d&exportcode=%s', $this->oFolder->getId(), $sExportCode)); 163 $url = KTUtil::addQueryStringSelf(sprintf('action=downloadZipFile&fFolderId=%d&exportcode=%s', $this->oFolder->getId(), $sExportCode));
164 - printf(_kt('Go <a href="%s">here</a> to download the zip file if you are not automatically redirected there'), $url); 164 + printf('<p>' . _kt('Go <a href="%s">here</a> to download the zip file if you are not automatically redirected there') . "</p>\n", $url);
  165 + $folderurl = KTBrowseUtil::getUrlForFolder($oFolder);
  166 + printf('<p>' . _kt('Once downloaded, return to the original <a href="%s">folder</a>') . "</p>\n", $folderurl);
165 printf("</div></div></body></html>\n"); 167 printf("</div></div></body></html>\n");
166 printf('<script language="JavaScript"> 168 printf('<script language="JavaScript">
167 function kt_bulkexport_redirect() { 169 function kt_bulkexport_redirect() {