Completed
Push — master ( 853573...80a2ca )
by Kevin
12:02
created
html/inc/host.inc 1 patch
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             if ($host->last_ip_addr != $host->external_ip_addr) {
91 91
                 row2(tra("External IP address"), $host->external_ip_addr);
92 92
             }
93
-        } else { 
93
+        } else {
94 94
             row2(tra("IP address"), "<a href=show_host_detail.php?hostid=$host->id&ipprivate=1>".tra("Show IP address")."</a>");
95 95
         }
96 96
         row2(tra("Domain name"), $host->domain_name);
@@ -258,10 +258,10 @@  discard block
 block discarded – undo
258 258
 // "[vbox|5.0.0|1|1]", where now two additional flags give information about
259 259
 // hardware virtualization support. Older clients may have the old-style
260 260
 // serialnum in the DB despite the server being upgraded.
261
-function vbox_desc($x){
262
-    if (preg_match("/\[vbox\|(.*?)(\|([01])\|([01]))?\]/",$x,$matches)){
261
+function vbox_desc($x) {
262
+    if (preg_match("/\[vbox\|(.*?)(\|([01])\|([01]))?\]/",$x,$matches)) {
263 263
         $desc = "Virtualbox (".$matches[1].") ".tra("installed");
264
-        if (sizeof($matches)>2){
264
+        if (sizeof($matches)>2) {
265 265
             if ($matches[3]=="1" and $matches[4]=="1") {
266 266
                 return $desc.tra(", CPU has hardware virtualization support and it is enabled");
267 267
             } elseif ($matches[3]=="1" and $matches[4]=="0") {
Please login to merge, or discard this patch.