Please use the following command in this page to optain information regarding the List Menu.
contentType=webapp/system
'; }else{ $contentType = $_GET['contentType']; if ($contentType == "webapp"){ $modules = glob("$AOBroot*"); $webappList = []; foreach ($modules as $webapp){ if (is_dir($webapp) && in_array(str_replace($AOBroot,"",$webapp),$hideModules) == false){ if (file_exists($webapp . "/index.php") || file_exists($webapp . "/index.html")){ $emSupport = false; if (file_exists($webapp ."/embedded.php")){ $emSupport = true; } $fwSupport = false; if (file_exists($webapp . "/FloatWindow.php")){ $fwSupport = true; } $displayName = str_replace($AOBroot,"",$webapp); $iconPath = $webapp . "/img/function_icon.png"; if (file_exists($webapp . "/img/small_icon.png")){ $iconPath = $webapp . "/img/small_icon.png"; } array_push($webappList,[$displayName,$webapp . "/",$emSupport,$fwSupport,$iconPath]); } } } header('Content-Type: application/json'); echo json_encode($webappList); }else if ($contentType == "system"){ $utilDir = $AOBroot . "SystemAOB/utilities/"; $iconDir = $utilDir . "sysicon/"; $utils = glob($utilDir . "*.php"); $utillist = []; foreach ($utils as $tool){ $icon = $iconDir . "noname.png"; if (file_exists($iconDir . basename($tool,".php") .".png")){ $icon = $iconDir . basename($tool,".php") .".png"; } array_push($utillist,[basename($tool,".php"),$utilDir . $tool,$icon]); } header('Content-Type: application/json'); echo json_encode($utillist); }else{ echo "Unknown content type value."; } } exit(); } $iconPath = "../personalization/usericon/"; if (file_exists($iconPath . $_SESSION['login'] . ".png")){ $imagePath = $iconPath . $_SESSION['login'] . ".png"; }else if (file_exists($iconPath . $_SESSION['login'] . ".jpg")){ $imagePath = $iconPath . $_SESSION['login'] . ".jpg"; }else if (file_exists($iconPath . $_SESSION['login'] . ".gif")){ $imagePath = $iconPath . $_SESSION['login'] . ".gif"; }else if (file_exists($iconPath . $_SESSION['login'] . ".jpeg")){ $imagePath = $iconPath . $_SESSION['login'] . ".jpeg"; }else{ $imagePath = $iconPath . "user.png"; } ?> List Menu
Shut down