img = $child->img ?? '';
                if (substr($child->img, 0, 6) === 'class:') {
                    $iconImage = '
';
                } elseif (substr($child->img, 0, 6) === 'image:') {
                    $iconImage = '
 . ')
';
                } elseif (!empty($child->img)) {
                    $iconImage = '

';
                } elseif ($child->icon) {
                    $iconImage = '
';
                } else {
                    $iconImage = '';
                }
                ?>
                
                
                    getChildren() as $item) : ?>
                        getParams(); ?>
                        
                        get('menu_show', 1)) : ?>
                            - 
                                get('menu-quicktask') ? '' : 'class="flex-grow-1"'; ?>
                                 href="link; ?>"
                                    target === '_blank' ? ' title="' . Text::sprintf('JBROWSERTARGET_NEW_TITLE', Text::_($item->title)) . '"' : ''; ?>
                                    target ? ' target="' . $item->target . '"' : ''; ?>>
                                    get('menu_image'))) : ?>
                                        get('menu_image'), ENT_QUOTES, 'UTF-8');
                                        $class = htmlspecialchars($params->get('menu_image_css'), ENT_QUOTES, 'UTF-8');
                                        $alt   = $params->get('menu_text') ? '' : htmlspecialchars(Text::_($item->title), ENT_QUOTES, 'UTF-8');
                                        ?>
                                        
                                    
                                    get('menu_text', 1)) ? htmlspecialchars(Text::_($item->title), ENT_QUOTES, 'UTF-8') : ''; ?>
                                    ajaxbadge) : ?>
                                        
                                    
                                
                                iconImage; ?>
                                get('menu-quicktask')) : ?>
                                    get('menu-quicktask-permission'); ?>
                                    scope !== 'default' ? $item->scope : null; ?>
                                    authorise($permission, $scope)) : ?>
                                        
                                    
                                
                                dashboard) : ?>