@@ 629-631 (lines=3) @@ | ||
626 | } |
|
627 | if ( ($item['path']==$current) || ($item['url'] == $current) ) { |
|
628 | $linkAttributes['class']['menuCurrent'] = 'menuCurrent'; |
|
629 | if (!is_array($item['attributes']['class'])) { |
|
630 | $item['attributes']['class'] = array( $item['attributes']['class'] ); |
|
631 | } |
|
632 | $item['attributes']['class']['menuCurrent'] = 'menuCurrent'; |
|
633 | } else if ( ( strpos( $current, $item['path'] ) === 0 ) || |
|
634 | ( strpos( $current, $item['url'] ) === 0 ) ) { |
|
@@ 635-637 (lines=3) @@ | ||
632 | $item['attributes']['class']['menuCurrent'] = 'menuCurrent'; |
|
633 | } else if ( ( strpos( $current, $item['path'] ) === 0 ) || |
|
634 | ( strpos( $current, $item['url'] ) === 0 ) ) { |
|
635 | if (!is_array($item['attributes']['class'])) { |
|
636 | $item['attributes']['class'] = array( $item['attributes']['class'] ); |
|
637 | } |
|
638 | $item['attributes']['class']['menuParent'] = 'menuParent'; |
|
639 | } |
|
640 | $item['node'] = ar_html::tag( $item['tagName'], $item['attributes'], |