Commit 2e7cd69753a89098d4da34c683f750ce88edfb02

Authored by rob
1 parent 6d0079e7

Correct root url problem


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@657 c91229c3-7414-0410-bfa2-8a42b809f60b
presentation/lookAndFeel/knowledgeTree/documentmanagement/viewUI.inc
@@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
14 */ 14 */
15 15
16 function renderDocumentPath($oDocument) { 16 function renderDocumentPath($oDocument) {
  17 + global $default;
17 $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($oDocument->getFolderID()), "$default->owl_root_url/control.php?action=browse") . " > " . $oDocument->getName(); 18 $sDocumentPath = displayFolderPathLink(Folder::getFolderPathAsArray($oDocument->getFolderID()), "$default->owl_root_url/control.php?action=browse") . " > " . $oDocument->getName();
18 return "<table border=1 width = 100%><tr><td>$sDocumentPath</td></tr></table>\n"; 19 return "<table border=1 width = 100%><tr><td>$sDocumentPath</td></tr></table>\n";
19 } 20 }