Commit 2f793efff3bbb16e6a49ea760098dfc22119666f
1 parent
627a0f56
fixed typo'd variable names
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@704 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
4 deletions
presentation/lookAndFeel/knowledgeTree/foldermanagement/folderUI.inc
| ... | ... | @@ -20,9 +20,11 @@ |
| 20 | 20 | * @param string the page to link to (defaults to the page this is called from) |
| 21 | 21 | */ |
| 22 | 22 | function displayFolderPathLink($aPathArray, $sLinkPage = "") { |
| 23 | - if (strlen($sLinkPath) == 0) { | |
| 24 | - $sLinkPath = $_SERVER["PHP_SELF"]; | |
| 23 | + global $default; | |
| 24 | + if (strlen($sLinkPage) == 0) { | |
| 25 | + $sLinkPage = $_SERVER["PHP_SELF"]; | |
| 25 | 26 | } |
| 27 | + $default->log->debug("displayFolderPathLink: slinkPage=$sLinkPage"); | |
| 26 | 28 | // display a separate link to each folder in the path |
| 27 | 29 | for ($i=0; $i<count($aPathArray); $i++) { |
| 28 | 30 | $iFolderID = $aPathArray[$i]; |
| ... | ... | @@ -47,8 +49,8 @@ function displayFolderPathLink($aPathArray, $sLinkPage = "") { |
| 47 | 49 | function displayFolderLink($oFolder, $sLinkPage = "") { |
| 48 | 50 | global $default; |
| 49 | 51 | |
| 50 | - if (strlen($sLinkPath) == 0) { | |
| 51 | - $sLinkPath = $_SERVER["PHP_SELF"]; | |
| 52 | + if (strlen($sLinkPage) == 0) { | |
| 53 | + $sLinkPage = $_SERVER["PHP_SELF"]; | |
| 52 | 54 | } |
| 53 | 55 | |
| 54 | 56 | $sFolderIconPath = generateImage($default->owl_graphics_url . "/widgets/dfolder.gif"); | ... | ... |