diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveDocumentBL.php index 5618e7d..b18ee13 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveDocumentBL.php @@ -8,6 +8,7 @@ require_once("$default->fileSystemRoot/lib/visualpatterns/PatternMainPage.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternCustom.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternTableSqlQuery.inc"); require_once("$default->fileSystemRoot/lib/visualpatterns/PatternListBox.inc"); +require_once("$default->fileSystemRoot/presentation/Html.inc"); require_once("$default->uiDirectory/documentmanagement/documentUI.inc"); require_once("$default->uiDirectory/foldermanagement/folderUI.inc"); require_once("$default->uiDirectory/documentmanagement/archiving/archiveSettingsUI.inc"); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveSettingsUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveSettingsUI.inc index ea2ebc8..a081562 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveSettingsUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/archiving/archiveSettingsUI.inc @@ -259,14 +259,13 @@ function renderAddArchiveSettingsPage($iArchivingTypeID, $sErrorMessage = "") { function renderArchiveConfirmationPage($iDocumentID, $sErrorMessage = "") { global $default; - $sToRender .= renderHeading("Archive Document"); + $sToRender = renderHeading("Archive Document"); if (strlen($sErrorMessage) > 0) { $sToRender .= renderErrorMessage($sErrorMessage); - } - + } $sToRender .= "
| You have chosen to archive the document entitled | |
| '" . Document::getDocumentName($iDocumentID) . "'. | \n"; + $sToRender .= "You have chosen to archive the document entitled '" . Document::getDocumentName($iDocumentID) . "'. | \n"; $sToRender .= "
| Select 'Archive' to confirm, or 'Cancel' to cancel. | \n"; $sToRender .= "|