Was displaying the page url rather than the menu title.

This commit is contained in:
JT Smith 2002-05-31 01:48:13 +00:00
parent cc0da126c5
commit 993ff5bbc4

View file

@ -40,9 +40,9 @@ sub _replacement {
} }
$temp .= '<a class="horizontalMenu" href="'.WebGUI::URL::gateway($data[1]).'">'; $temp .= '<a class="horizontalMenu" href="'.WebGUI::URL::gateway($data[1]).'">';
if ($session{page}{pageId} == $data[2]) { if ($session{page}{pageId} == $data[2]) {
$temp .= '<span class="selectedMenuItem">'.$data[1].'</span>'; $temp .= '<span class="selectedMenuItem">'.$data[0].'</span>';
} else { } else {
$temp .= $data[1]; $temp .= $data[0];
} }
$temp .= '</a>'; $temp .= '</a>';
} }