|
@ -54,6 +54,8 @@ class Extend |
|
|
'group' => $group, |
|
|
'group' => $group, |
|
|
'url' => isset($page['url']) ? $page['url'] : '#', |
|
|
'url' => isset($page['url']) ? $page['url'] : '#', |
|
|
'icon' => isset($page['icon']) ? $page['icon'] : 'icon-leaf', |
|
|
'icon' => isset($page['icon']) ? $page['icon'] : 'icon-leaf', |
|
|
|
|
|
'icon_base64' => isset($page['icon_base64']) ? $page['icon_base64'] : '', |
|
|
|
|
|
'icon_base64_minimized' => isset($page['icon_base64_minimized']) ? $page['icon_base64_minimized'] : '', |
|
|
'permissions' => isset($page['permissions']) ? $page['permissions'] : ['wms.*'], |
|
|
'permissions' => isset($page['permissions']) ? $page['permissions'] : ['wms.*'], |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
@ -98,6 +100,8 @@ class Extend |
|
|
'group' => $subGroup, |
|
|
'group' => $subGroup, |
|
|
'url' => $subUrl, |
|
|
'url' => $subUrl, |
|
|
'icon' => isset($subPage['icon']) ? $subPage['icon'] : 'icon-leaf', |
|
|
'icon' => isset($subPage['icon']) ? $subPage['icon'] : 'icon-leaf', |
|
|
|
|
|
'icon_base64' => isset($subPage['icon_base64']) ? $subPage['icon_base64'] : '', |
|
|
|
|
|
'icon_base64_minimized' => isset($subPage['icon_base64_minimized']) ? $subPage['icon_base64_minimized'] : '', |
|
|
'permissions' => $subPermission, |
|
|
'permissions' => $subPermission, |
|
|
]; |
|
|
]; |
|
|
$subCount++; |
|
|
$subCount++; |
|
@ -215,4 +219,4 @@ class Extend |
|
|
return $order1 == $order2 ? 0 : ($order1 < $order2 ? -1 : 1); |
|
|
return $order1 == $order2 ? 0 : ($order1 < $order2 ? -1 : 1); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |