From befc05990114956d9da4e9cf176ca8ad92c5e130 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 12 Nov 2003 10:21:26 +0000 Subject: [PATCH] fixed introduced bug- inline view on document filename reinstated --- presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc index 5c78b25..04d9d7b 100644 --- a/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc +++ b/presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc @@ -36,11 +36,12 @@ function renderDocumentPath($oDocument, $bDisplayActions = false) { $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($oDocument->getFolderID()), Folder::getFolderPathNamesAsArray($oDocument->getFolderID()), "$default->rootUrl/control.php?action=browse") . " > "; // #3425 for consistency - $sDocumentPath .= $oDocument->getFileName(); - if ($bDisplayActions) { - $sDocumentPath = "" . $sDocumentPath . ""; + if ($bDisplayActions) { + $sDocumentPath .= "" . $oDocument->getFileName() . ""; + } else { + $sDocumentPath .= $oDocument->getFileName(); } - return "" . ($bDisplayActions ? "" : "") . "
$sDocumentPathActions
\n"; + return "" . ($bDisplayActions ? "" : "") . "
" . $sDocumentPath . "Actions
\n"; } function renderDocumentData($oDocument, $bEditable, $sStatusMessage = "") { -- libgit2 0.21.4