Code Duplication    Length = 3-3 lines in 2 locations

categories.php 1 location

@@ 116-118 (lines=3) @@
113
    $mytitle = $catpathArray[$i]->getVar('title');
114
}
115
116
if (0 != $myParent) {
117
    $path = "<a href='" . ALUMNI_URL . '/categories.php?cid=' . $catpathArray[$i]->getVar('cid') . "'>" . $catpathArray[$i]->getVar('title') . '</a>&nbsp;:&nbsp;';
118
}
119
$path = "{$homePath}{$path}{$itemPath}";
120
$path = str_replace('&nbsp;:&nbsp;', " <img src='" . XOOPS_URL . "/modules/{$moduleDirName}/assets/images/arrow.gif" . "' style='border-width: 0px;' alt=''> ", $path);
121

listing.php 1 location

@@ 80-82 (lines=3) @@
77
            $mytitle = $catpath_arr[$i]->getVar('title');
78
        }
79
80
        if (0 != $myParent) {
81
            $path = "<a href='" . ALUMNI_URL . '/categories.php?cid=' . $catpath_arr[$i]->getVar('cid') . "'>" . $catpath_arr[$i]->getVar('title') . "</a>&nbsp;:&nbsp;{$path}";
82
        }
83
84
        $path = "{$homePath}{$path}{$itemPath}";
85
        $path = str_replace('&nbsp;:&nbsp;', " <img src='" . XOOPS_URL . '/modules/alumni/images/arrow.gif' . "' style='border-width: 0px;' alt=''> ", $path);