1
0
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:
camer0n
2025-04-28 14:26:35 -07:00
parent 06f697abf5
commit 864d914c39
2 changed files with 6 additions and 2 deletions

View File

@@ -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;