Commit 4d1ea232955b1340d6e8221fe517d9689357ec36

Authored by Michael Joseph
1 parent c5ab8318

tweaked document path display


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2466 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewHistoryUI.inc
@@ -17,7 +17,7 @@ function getDocumentPath($iFolderID, $sDocumentName) { @@ -17,7 +17,7 @@ function getDocumentPath($iFolderID, $sDocumentName) {
17 $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"]))); 17 $sSectionName = $default->siteMap->getSectionName(substr($_SERVER["PHP_SELF"], strlen($default->rootUrl), strlen($_SERVER["PHP_SELF"])));
18 $sTDBGColour = $default->siteMap->getSectionColour($sSectionName, "td"); 18 $sTDBGColour = $default->siteMap->getSectionColour($sSectionName, "td");
19 $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($iFolderID), Folder::getFolderPathNamesAsArray($iFolderID), "$default->rootUrl/control.php?action=browse") . " > " . $sDocumentName; 19 $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($iFolderID), Folder::getFolderPathNamesAsArray($iFolderID), "$default->rootUrl/control.php?action=browse") . " > " . $sDocumentName;
20 - return "<table border=\"0\" width=\"600\"><tr><td bgcolor=\"$sTDBGColour\">$sDocumentPath</td></tr></table>\n"; 20 + return "<table border=\"0\"cellpadding=\"5\" width=\"610\"><tr bgcolor=\"$sTDBGColour\"><td width=\"87%\">$sDocumentPath</td></tr></table>\n";
21 } 21 }
22 22
23 function getDocumentHistory($iDocumentID) { 23 function getDocumentHistory($iDocumentID) {