| | |
| | | Format the data |
| | | */ |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon"> |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'"> |
| | | <table> |
| | | <tr> |
| | | <td>' . $app->lng("Server online since").':</td> |
| | |
| | | Format the data |
| | | */ |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon"> |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'"> |
| | | <table> |
| | | <tr> |
| | | <td>Filesystem</td> |
| | |
| | | Format the data |
| | | */ |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon"> |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'"> |
| | | <table>'; |
| | | |
| | | foreach($data as $key => $value){ |
| | |
| | | Format the data |
| | | */ |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon"> |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'"> |
| | | <table>'; |
| | | foreach($data as $key => $value){ |
| | | if ($key != '') { |
| | |
| | | Format the data |
| | | */ |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon"> |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'"> |
| | | <table>'; |
| | | |
| | | if($data['webserver'] != -1) { |
| | |
| | | |
| | | if(isset($record['data'])) { |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon">'; |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'">'; |
| | | /* |
| | | * First, we have to detect, if there is any monitoring-data. |
| | | * If not (because the destribution is not supported) show this. |
| | |
| | | |
| | | if(isset($record['data'])) { |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon">'; |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'">'; |
| | | |
| | | /* |
| | | * First, we have to detect, if there is any monitoring-data. |
| | |
| | | |
| | | if(isset($record['data'])) { |
| | | $html = |
| | | '<div class="systemmonitor-state systemmonitor-state-' . $record['state'] . '"> |
| | | <div class="systemmonitor-state-' . $record['state'] . '-icon">'; |
| | | '<div class="systemmonitor-state state-'.$record['state'].'"> |
| | | <div class="systemmonitor-content icons32 ico-'.$record['state'].'">'; |
| | | |
| | | /* |
| | | * First, we have to detect, if there is any monitoring-data. |