mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
item in list with badges can be set active
This commit is contained in:
parent
e4f4a52ed6
commit
ed4b5e34a4
|
@ -589,7 +589,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$content = '';
|
||||
$content .= "<ul".(isset($options['id']) ? ' id="'.$options['id'].'"' : '')." class=\"nav nav-list sidenav bs-docs-sidenav\">\n";
|
||||
foreach($menuitems as $menuitem) {
|
||||
$content .= " <li class=\"\">\n";
|
||||
$content .= " <li class=\"".(!empty($menuitem['active']) ? ' active' : '')."\">\n";
|
||||
$content .= ' <a';
|
||||
$content .= !empty($menuitem['link']) ? 'href="'.$menuitem['link'].'"' : '';
|
||||
if(!empty($menuitem['attributes']))
|
||||
|
|
|
@ -589,7 +589,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
$content = '';
|
||||
$content .= "<ul".(isset($options['id']) ? ' id="'.$options['id'].'"' : '')." class=\"list-group sidenav\">\n";
|
||||
foreach($menuitems as $menuitem) {
|
||||
$content .= " <li class=\"list-group-item d-flex justify-content-between align-items-center\">\n";
|
||||
$content .= " <li class=\"list-group-item d-flex justify-content-between align-items-center".(!empty($menuitem['active']) ? ' active' : '')."\">\n";
|
||||
$content .= ' <a';
|
||||
$content .= !empty($menuitem['link']) ? 'href="'.$menuitem['link'].'"' : '';
|
||||
if(!empty($menuitem['attributes']))
|
||||
|
|
Loading…
Reference in New Issue
Block a user