| @@ 141-145 (lines=5) @@ | ||
| 138 | $itemPath = "<a href='" . XOOPSMYLINKURL . "/viewcat.php?cid={$cid}'>" . $thisCatObj->getVar('title') . '</a>'; |
|
| 139 | $path = ''; |
|
| 140 | $myParentID = $thisCatObj->getVar('pid'); |
|
| 141 | while ($myParentID != 0) { |
|
| 142 | $ancestorObj = $myCatTree->getByKey($myParentID); |
|
| 143 | $path = "<a href='" . XOOPSMYLINKURL . '/viewcat.php?cid=' . $ancestorObj->getVar('cid') . "'>" . $ancestorObj->getVar('title') . "</a> : {$path}"; |
|
| 144 | $myParentID = $ancestorObj->getVar('pid'); |
|
| 145 | } |
|
| 146 | ||
| 147 | $path = "{$homePath}{$path}{$itemPath}"; |
|
| 148 | $path = str_replace(' : ', " <img src='" . mylinksGetIconURL('arrow.gif') . "' style='border-width: 0px;' alt=''> ", $path); |
|
| @@ 108-112 (lines=5) @@ | ||
| 105 | $itemPath = "<a href='" . XOOPSMYLINKURL . "/viewcat.php?cid={$lcid}'>" . $thisCatObj->getVar('title') . '</a>'; |
|
| 106 | $path = ''; |
|
| 107 | $myParent = $thisCatObj->getVar('pid'); |
|
| 108 | while ($myParent != 0) { |
|
| 109 | $ancestorObj = $myCatTree->getByKey($myParent); |
|
| 110 | $path = "<a href='" . XOOPSMYLINKURL . '/viewcat.php?cid=' . $ancestorObj->getVar('cid') . "'>" . $ancestorObj->getVar('title') . "</a> : {$path}"; |
|
| 111 | $myParent = $ancestorObj->getVar('pid'); |
|
| 112 | } |
|
| 113 | $path = "{$path}{$itemPath}"; |
|
| 114 | $path = str_replace(' : ', " <img src='" . mylinksGetIconURL('arrow.gif') . "' style='border-width: 0px;' alt=''> ", $path); |
|
| 115 | ||
| @@ 101-105 (lines=5) @@ | ||
| 98 | $itemPath = $catObj->getVar('title'); |
|
| 99 | $path = ''; |
|
| 100 | $myParent = $catObj->getVar('pid'); |
|
| 101 | while ($myParent != 0) { |
|
| 102 | $ancestorObj = $myCatTree->getByKey($myParent); |
|
| 103 | $path = "<a href='" . XOOPSMYLINKURL . '/viewcat.php?cid=' . $ancestorObj->getVar('cid') . "'>" . $ancestorObj->getVar('title') . "</a> : {$path}"; |
|
| 104 | $myParent = $ancestorObj->getVar('pid'); |
|
| 105 | } |
|
| 106 | ||
| 107 | $path = "{$homePath}{$path}{$itemPath}"; |
|
| 108 | $path = str_replace(' : ', " <img src='" . mylinksGetIconURL('arrow.gif') . "' style='border-width: 0px;' alt=''> ", $path); |
|
| @@ 233-237 (lines=5) @@ | ||
| 230 | $itemPath = $thisCatObj->getVar('title'); |
|
| 231 | $path = ''; |
|
| 232 | $myParent = $thisCatObj->getVar('pid'); |
|
| 233 | while ($myParent != 0) { |
|
| 234 | $ancestorObj = $myCatTree->getByKey($myParent); |
|
| 235 | $path = "<a href='" . XOOPSMYLINKURL . '/viewcat.php?cid=' . $ancestorObj->getVar('cid') . "'>" . $ancestorObj->getVar('title') . "</a> : {$path}"; |
|
| 236 | $myParent = $ancestorObj->getVar('pid'); |
|
| 237 | } |
|
| 238 | ||
| 239 | $path = "{$homePath}{$path}{$itemPath}"; |
|
| 240 | $path = str_replace(' : ', " <img src='" . mylinksGetIconURL('arrow.gif') . "' style='border-width: 0px;' alt=''> ", $path); |
|