mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-02 10:57:52 +00:00
fixed oops
This commit is contained in:
@@ -61,7 +61,7 @@ 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){
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ if(!empty($res) && isset($res['clusters'])){
|
|||||||
$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]);
|
||||||
if($hres !== false){
|
if($hres !== false){
|
||||||
|
|||||||
Reference in New Issue
Block a user