From c27941663bf568a0b49662a38e43a4e972bad47f Mon Sep 17 00:00:00 2001
From: cfoe <cfoe@ispconfig3>
Date: Tue, 07 Aug 2012 02:29:14 -0400
Subject: [PATCH] added support for extended generatePassword function

---
 interface/web/monitor/show_sys_state.php |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/interface/web/monitor/show_sys_state.php b/interface/web/monitor/show_sys_state.php
index e504763..43a9cc5 100644
--- a/interface/web/monitor/show_sys_state.php
+++ b/interface/web/monitor/show_sys_state.php
@@ -222,9 +222,9 @@
 	/*
 	 * Info of a VE inside a OpenVz-Host
 	*/
-	$html_ve  = '<div class="systemmonitor-ve state-' . $serverState . '-ve">';
+	$html_ve  = '<div class="systemmonitor-ve state-' . $serverState . '-ve os-' . $osData['name'] . '">';
         if ($osData != null) {
-            $html_ve .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
+            $html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
         }
         else {
             $html_ve .= '<div class="icoDevice"><p class="status"></p></div>';
@@ -244,9 +244,9 @@
 	/*
 	 * Info of a "normal" Server or a OpenVz-Host
 	*/
-	$html_server = '<div class="systemmonitor-server state-' . $serverState . '">';
+	$html_server = '<div class="systemmonitor-server state-' . $serverState . ' os-' . $osData['name'] . '">';
 	if ($osData != null) {
-            $html_server .= '<div class="icoDevice os-' . $osData['name'] . '"><p class="status"></p></div>';
+            $html_server .= '<div class="icoDevice"><p class="status"></p></div>';
         }
         else {
             $html_server .= '<div class="icoDevice"><p class="status"></p></div>';

--
Gitblit v1.9.1