" . _("Lamdaemon test") . "\n"; $servers = explode(";", $_SESSION['config']->get_scriptServers()); $serverIDs = array(); $serverTitles = array(); for ($i = 0; $i < sizeof($servers); $i++) { $serverParts = explode(":", $servers[$i]); $serverName = $serverParts[0]; $title = $serverName; if (isset($serverParts[1])) { $title = $serverParts[1] . " (" . $serverName . ")"; } $serverIDs[] = $serverName; $serverTitles[$serverName] = $title; } if (isset($_POST['runTest'])) { lamRunLamdaemonTestSuite($_POST['server'], $serverTitles[$_POST['server']] , isset($_POST['checkQuotas'])); } else if ((sizeof($servers) > 0) && isset($servers[0]) && ($servers[0] != '')) { echo "
\n"; } else { StatusMessage("ERROR", _('No lamdaemon server set, please update your LAM configuration settings.')); } echo "