diff --git a/README.md b/README.md index 317cc510..3921a34b 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # PHP Server Monitor +Version 3.0.0 + ## Summary PHP Server Monitor is a script that checks whether your websites and servers are up and running. diff --git a/src/psm/Module/Server/Controller/AbstractServerController.class.php b/src/psm/Module/Server/Controller/AbstractServerController.class.php index 260fc606..4a763b2f 100644 --- a/src/psm/Module/Server/Controller/AbstractServerController.class.php +++ b/src/psm/Module/Server/Controller/AbstractServerController.class.php @@ -110,6 +110,7 @@ abstract class AbstractServerController extends AbstractController { $server['status'] = 'warning'; } + $server['error'] = htmlentities($server['error']); $server['type'] = psm_get_lang('servers', 'type_' . $server['type']); return $server; diff --git a/src/templates/main.tpl.html b/src/templates/main.tpl.html index 1fc063a0..5615e375 100755 --- a/src/templates/main.tpl.html +++ b/src/templates/main.tpl.html @@ -9,8 +9,8 @@ {auto_refresh} - - + +
{label_server} | {label_message} | -{label_date} | +{label_date} | {label_users} |
---|