| | |
| | | $module["template"] = "module.tpl.htm"; |
| | | $module["tab_width"] = ''; |
| | | $module["startpage"] = "monitor/show_sys_state.php?state=system"; |
| | | $module['order'] = '60'; |
| | | |
| | | unset($items); |
| | | $items[] = array( 'title' => "Show Overview", |
| | |
| | | |
| | | $servers = $app->db->queryAllRecords("SELECT server_id, server_name FROM server order by server_name"); |
| | | |
| | | $dropDown = "<select id='server_id' onchange=\"loadContent('monitor/show_sys_state.php?state=server&server=' + document.getElementById('server_id').value);\">"; |
| | | $dropDown = "<select id='server_id' onchange=\"ISPConfig.loadContent('monitor/show_sys_state.php?state=server&server=' + document.getElementById('server_id').value);\">"; |
| | | foreach ($servers as $server) |
| | | { |
| | | $dropDown .= "<option value='" . $server['server_id'] . "|" . $server['server_name'] . "'>" . $server['server_name'] . "</option>"; |
| | |
| | | 'link' => 'monitor/show_data.php?type=fail2ban', |
| | | 'html_id' => 'fai2ban'); |
| | | |
| | | /* |
| | | $items[] = array( 'title' => "Show MongoDB-Log", |
| | | 'target' => 'content', |
| | | 'link' => 'monitor/show_data.php?type=mongodb', |
| | | 'html_id' => 'mongodb'); |
| | | |
| | | */ |
| | | $items[] = array( 'title' => "Show IPTables", |
| | | 'target' => 'content', |
| | | 'link' => 'monitor/show_data.php?type=iptables', |