mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/ARCHIVED-IZYIM.git
synced 2026-08-19 12:24:06 +00:00
31 lines
620 B
PHP
Executable File
31 lines
620 B
PHP
Executable File
<?php
|
|
|
|
global $hooks;
|
|
$hooks->add_action('admin_menu', 'menu_admin');
|
|
|
|
|
|
function menu_admin() {
|
|
global $menu_array;
|
|
$dashboardmenu = array(
|
|
array(
|
|
"label" => "Dashboard",
|
|
"url" => "/dashboard",
|
|
"icon" => "fa fa-home"
|
|
),
|
|
array(
|
|
"label" => "User Management",
|
|
"url" => "/user-management",
|
|
"icon" => "fa fa-users"
|
|
),
|
|
array(
|
|
"label" => "New Registration",
|
|
"url" => "/register-account",
|
|
"icon" => "fa fa-plus"
|
|
)
|
|
);
|
|
$menu_array = $dashboardmenu;
|
|
}
|
|
$x = listFolderFiles(dirname(__FILE__));
|
|
foreach ($x as $key => $name) {
|
|
include $name . '/init.php';
|
|
} |