mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 10:04:35 +02:00
#5473 Make sure the navigation items have IDs
This commit is contained in:
@@ -999,6 +999,10 @@ class admin_shortcodes extends e_shortcode
|
||||
|
||||
$active = ($var === $current) ? ' active bg-default' : '';
|
||||
|
||||
$srch = array('[',']','!');
|
||||
$repl = array('[',']','!');
|
||||
$link = str_replace($srch,$repl,$link);
|
||||
|
||||
$text .= '<li role="menuitem" class="text-right'.$active.'">
|
||||
<a href="'.$link.'">'.$label;
|
||||
|
||||
|
Reference in New Issue
Block a user