\n";
$sToRender .= "\n";
$sToRender .= getEditableGenericMetaData($iDocumentID, $iDocumentTypeID);
@@ -54,5 +65,4 @@ function getPage($iDocumentID, $iDocumentTypeID, $fFirstEdit) {
return $sToRender;
}
-
-?>
+?>
\ No newline at end of file
diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php
index 25b89cb..d932542 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataBL.php
@@ -1,16 +1,16 @@
fileSystemRoot/lib/security/permission.inc");
require_once("$default->fileSystemRoot/lib/documentmanagement/Document.inc");
require_once("$default->fileSystemRoot/lib/foldermanagement/Folder.inc");
@@ -18,6 +18,7 @@ if (checkSession()) {
require_once("$default->fileSystemRoot/lib/visualpatterns/PatternEditableTableSqlQuery.inc");
require_once("$default->fileSystemRoot/lib/visualpatterns/PatternMetaData.inc");
require_once("$default->fileSystemRoot/presentation/Html.inc");
+ require_once("documentUI.inc");
require_once("modifySpecificMetaDataUI.inc");
if (Permission::userHasDocumentWritePermission($fDocumentID)) {
@@ -30,7 +31,5 @@ if (checkSession()) {
$main->setHasRequiredFields(true);
$main->render();
}
-
}
-
-?>
+?>
\ No newline at end of file
diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc
index bf71563..5e814c0 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifySpecificMetaDataUI.inc
@@ -1,12 +1,12 @@
\n";
+ $sToRender .= renderHeading("Edit Type Specific Meta Data");
+ $sToRender .= displayDocumentPath($iDocumentID);
+ $sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= getEditableTypeSpecificMetaData($iDocumentID, $iDocumentTypeID);
@@ -62,7 +64,4 @@ function getPage($iDocumentID, $iDocumentTypeID, $bFirstEdit) {
return $sToRender;
}
-
-?>
-
-
+?>
\ No newline at end of file
diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc
index 2626601..7227e24 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/modifyUI.inc
@@ -1,13 +1,14 @@
getFolderID()), Folder::getFolderPathNamesAsArray($oDocument->getFolderID())) . " > " . $oDocument->getName();
@@ -21,8 +22,8 @@ function renderEditableDocumentData($oDocument, $iDocumentTypeID) {
$sToRender;
if ($oDocument) {
- $sToRender = "\n";
- $sToRender .= "Document Data\n";
+ $sToRender .= "\n";
+ $sToRender .= "Document Data\n";
$sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= "Document Title \n";
@@ -62,7 +63,9 @@ function getDocumentType($iFolderID, $iDocumentTypeID) {
function renderPage($oDocument, $iDocumentTypeID, $fFirstEdit) {
global $default;
- $sToRender = "\n";
+ $sToRender = renderHeading("Edit Document Details");
+ $sToRender .= displayDocumentPath($oDocument->getID());
+ $sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= renderEditableDocumentData($oDocument, $iDocumentTypeID) . "\n";
diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php
index cc94d5b..3ac6397 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkBL.php
@@ -1,19 +1,20 @@
fileSystemRoot/lib/documentmanagement/Document.inc");
require_once("$default->fileSystemRoot/lib/documentmanagement/DocumentLink.inc");
require_once("$default->fileSystemRoot/presentation/Html.inc");
+ require_once("documentUI.inc");
require_once("removeDocumentLinkUI.inc");
-
-
+
if (Permission::userHasDocumentWritePermission($fParentDocumentID)) {
if (isset($fForDelete)) {
//deleting a document link
@@ -69,6 +70,4 @@ if (checkSession()) {
$main->render();
}
}
-
-
?>
\ No newline at end of file
diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc
index 582916e..7baca2e 100644
--- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc
+++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/removeDocumentLinkUI.inc
@@ -21,6 +21,7 @@
function getPage($sParentDocumentName, $sChildDocumentName, $iParentDocumentID) {
global $default;
$sToRender = renderHeading("Unlink document");
+ $sToRender .= displayDocumentPath($iParentDocumentID);
$sToRender .= "\n";
$sToRender .= "\n";
$sToRender .= "| You have chosen to delete the link between the document '$sParentDocumentName' and the document '$sChildDocumentName' | \n";
| | | |