mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-01 02:17:52 +00:00
fixed oops
This commit is contained in:
@@ -60,8 +60,8 @@ foreach($nodes as $node){
|
|||||||
|
|
||||||
$tasks = (empty($ids)) ? '' : $tasks = $this->getRunningTasks($ids);
|
$tasks = (empty($ids)) ? '' : $tasks = $this->getRunningTasks($ids);
|
||||||
|
|
||||||
if($hres! == false){
|
if($hres !== false){
|
||||||
$html_tpl = str_replace(["\n","\r","\t"]), '', $hres[1]);
|
$html_tpl = str_replace(["\n","\r","\t"], '', $hres[1]);
|
||||||
$vars = [
|
$vars = [
|
||||||
'nth-num' => 'nth0',
|
'nth-num' => 'nth0',
|
||||||
'status' => '',
|
'status' => '',
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ if($hres !== false){
|
|||||||
$html_tpl_1 = replaceVars($hres[1], [
|
$html_tpl_1 = replaceVars($hres[1], [
|
||||||
'deltitle' => ' title="'.$this->translate('Delete').'"',
|
'deltitle' => ' title="'.$this->translate('Delete').'"',
|
||||||
'dnldtitle' => ' title="'.$this->translate('Download').'"',
|
'dnldtitle' => ' title="'.$this->translate('Download').'"',
|
||||||
'imptitle' => ' title="'.$this->translate('Create').'"')
|
'imptitle' => ' title="'.$this->translate('Create').'"'
|
||||||
];
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach($images as $item){
|
foreach($images as $item){
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ if(!empty($res) && isset($res['clusters'])){
|
|||||||
// if($node!='local') $html_tpl=str_replace('<span class="icon-cog"></span>','',$html_tpl);
|
// if($node!='local') $html_tpl=str_replace('<span class="icon-cog"></span>','',$html_tpl);
|
||||||
$html .= $html_tpl;
|
$html .= $html_tpl;
|
||||||
$nth++;
|
$nth++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$html_tpl_1 = str_replace(["\n","\r","\t"], '', $hres[1]);
|
$html_tpl_1 = str_replace(["\n","\r","\t"], '', $hres[1]);
|
||||||
|
|||||||
Reference in New Issue
Block a user