Skip to content

Commit

Permalink
update camera.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Spine34 committed Jun 22, 2024
1 parent 6ab0aba commit 7b5f263
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions core/class/camera.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -583,17 +583,22 @@ public function toHtml($_version = 'dashboard', $_fluxOnly = false) {
'#name#' => ($cmd->getDisplay('icon') != '') ? $cmd->getDisplay('icon') : $cmd->getName(),
);
$action .= template_replace($replaceCmd, getTemplate('core', $version, 'camera_action', 'camera')) . ' ';
if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) {
$action .= '<div class="break"></div>';
}
} else {
if ($cmd->getType() == 'info') {
$info .= $cmd->toHtml($_version);
if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) {
$info .= '<div class="break"></div>';
}
} else {
$action .= $cmd->toHtml($_version);
if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) {
$action .= '<div class="break"></div>';
}
}
}

if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) {
$action .= '<br/>';
}
}
}
}
Expand Down

0 comments on commit 7b5f263

Please sign in to comment.