From 75ad447f602d1843df78bb0ee8bf908533a7b51d Mon Sep 17 00:00:00 2001 From: rob Date: Tue, 10 Jun 2003 09:52:34 +0000 Subject: [PATCH] Fixed syntax on email message --- presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php | 6 +++--- presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php index 792af6d..715cd20 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentBL.php @@ -38,7 +38,7 @@ if (checkSession()) { $sBody = $oUser->getName() . ", a step in the document collaboration process requires you to create a new document. " . - generateLink("/control.php","action=dashboard","Log onto KnowledgeTree") . " and select the relevant link under the 'Dependant Documents' heading on your dashboard when you are ready upload it."; + generateLink("/control.php","action=dashboard","Log onto KnowledgeTree") . " and select the relevant link under the 'Dependant Documents' heading on your dashboard when you are ready to upload it. "; //if we have a template document if (!($oTemplateDocument === false)) { $sBody .= "The document entitled " . generateLink("/control.php", "action=viewDocument&fDocumentID=" . $oTemplateDocument->getID(), $oTemplateDocument->getName()) . " " . @@ -56,7 +56,7 @@ if (checkSession()) { $oDocument = Document::get($fDocumentID); $oPatternCustom = & new PatternCustom(); - $oPatternCustom->setHtml(getAddPage($oDocument->getFolderID(), $fDocumentID, $fUnitID, $fUserID, $fDocumentTitle, $fTemplateDocument)); + $oPatternCustom->setHtml(getPage($oDocument->getFolderID(), $fDocumentID, $fUnitID, $fUserID, $fDocumentTitle, $fTemplateDocument)); $main->setCentralPayload($oPatternCustom); $main->setFormAction($_SERVER["PHP_SELF"] . "?fDocumentID=$fDocumentID&fForStore=1"); $main->setErrorMessage("An error occured whilst trying to create the dependant document"); @@ -69,7 +69,7 @@ if (checkSession()) { $oDocument = Document::get($fDocumentID); $oPatternCustom = & new PatternCustom(); - $oPatternCustom->setHtml(getAddPage($oDocument->getFolderID(), $fDocumentID, $fUnitID, $fUserID, $fDocumentTitle, $fTemplateDocument)); + $oPatternCustom->setHtml(getPage($oDocument->getFolderID(), $fDocumentID, $fUnitID, $fUserID, $fDocumentTitle, $fTemplateDocument)); $main->setCentralPayload($oPatternCustom); $main->setFormAction($_SERVER["PHP_SELF"] . "?fDocumentID=$fDocumentID&fForStore=1"); $main->render(); diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc index 34d0f60..1adaccc 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/createDependantDocumentUI.inc @@ -9,7 +9,7 @@ function getFolderPath($iFolderID) { return "
$sFolderPathLink
\n"; } -function getAddPage($iFolderID, $iDocumentID, $iUnitID, $iUserID, $sDocumentTitle, $sTemplateDocument) { +function getPage($iFolderID, $iDocumentID, $iUnitID, $iUserID, $sDocumentTitle, $sTemplateDocument) { global $default; $sToRender = renderHeading("Create a new dependant document"); $sToRender .= getFolderPath($iFolderID); @@ -70,7 +70,7 @@ function getUnitDropDown($iDocumentID, $iUnitID) { } $oPatternListBox = & new PatternListBox($default->owl_units_table, "Name", "id", "fUnitID"); $oPatternListBox->setPostBackOnChange(true); - $oPatternListBox->setOnChangeAction("setActionAndSubmit('" . $_SERVER["PHP_SELF"] . "?fDocumentID=$iDocumentID&fForAdd=1')"); + $oPatternListBox->setOnChangeAction("setActionAndSubmit('" . $_SERVER["PHP_SELF"] . "?fDocumentID=$iDocumentID')"); if (isset($iUnitID)) { $oPatternListBox->setSelectedValue($iUnitID); } -- libgit2 0.21.4