Skip to content
Snippets Groups Projects
Commit e7b03b80 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch 'task-1538-fgix-multiple-hosts' into 'master'

Task 1538 fgix multiple hosts

See merge request !46
parents 37e3d6d3 09c54e46
No related branches found
No related tags found
No related merge requests found
......@@ -897,19 +897,19 @@ class project extends base {
$aVersions = $oVersion->getVersion();
// echo "Place: <pre>" . print_r($oVersion->whereiam(), 1) . "</pre>";
// echo "Versionen: <pre>" . print_r($aVersions, 1) . "</pre>";
foreach ($aVersions as $sHostname => $aHostdata) {
if (count($aVersions)){
$aTmp[$sKey] = array();
$aTmp[$sKey] = $aHostdata['_data'];
$aTmp[$sKey]["infofile"] = '[versioncache]';
$aTmp[$sKey]['_hosts'] = array();
foreach ($aVersions as $sHostname => $aHostdata) {
$aTmp[$sKey]['_hosts'][$aHostdata['host']] = $aHostdata;
// first host only
continue;
}
$aTmp[$sKey]["ok"] = 1;
$aTmp[$sKey]["infofile"] = '[versioncache]';
}
/*
$sJsonData = $this->_httpGet($sJsonfile);
if ($sJsonData) {
......
......@@ -194,7 +194,7 @@ span.pre{
}
.hosts{}
.host{border: 1px dotted #888; float: left; margin: 0.5 0.5em 0.5em 0; padding: 0.5em;}
.host{border: 1px dotted #888; float: left; margin: 0 0.5em 0.5em 0; padding: 0.5em;}
.warning{background: #fe8;}
.error{background: #fcc;}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment