Was displaying the page url rather than the menu title.
This commit is contained in:
parent
cc0da126c5
commit
993ff5bbc4
1 changed files with 2 additions and 2 deletions
|
|
@ -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>';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue