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