diff --git a/core/class/camera.class.php b/core/class/camera.class.php index ab80882..fefc194 100644 --- a/core/class/camera.class.php +++ b/core/class/camera.class.php @@ -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 .= '
'; + } } else { if ($cmd->getType() == 'info') { $info .= $cmd->toHtml($_version); + if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) { + $info .= '
'; + } } else { $action .= $cmd->toHtml($_version); + if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) { + $action .= '
'; + } } } - - if ($cmd->getDisplay('forceReturnLineAfter', 0) == 1) { - $action .= '
'; - } } } }