Fix to put @class current on the navigation of the page viewed
This commit is contained in:
parent
98e8a24d88
commit
b7dd4d2ad1
|
@ -566,7 +566,7 @@ class Action extends HTMLOutputter // lawsuit
|
||||||
$lattrs['class'] = 'current';
|
$lattrs['class'] = 'current';
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->elementStart('li', (is_null($id)) ? null : array('id' => $id), $lattrs);
|
$this->elementStart('li', (is_null($id)) ? $lattrs : array_merge(array('id' => $id), $lattrs));
|
||||||
$attrs['href'] = $url;
|
$attrs['href'] = $url;
|
||||||
if ($title) {
|
if ($title) {
|
||||||
$attrs['title'] = $title;
|
$attrs['title'] = $title;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user