Fix code style

This commit is contained in:
Laurent Destailleur 2019-08-31 02:00:28 +02:00
parent 43e0655dd5
commit 3d5361832d
3 changed files with 5 additions and 5 deletions

View File

@ -631,15 +631,15 @@ foreach($valid_dashboardlines as $board)
$openedDashBoardSize = 'info-box-sm'; // use sm by default
foreach ($dashboardgroup as $dashbordelement){
if(is_array($dashbordelement['stats']) && count($dashbordelement['stats'])>2){
if (is_array($dashbordelement['stats']) && count($dashbordelement['stats'])>2){
$openedDashBoardSize = ''; // use default info box size : big
break;
}
}
$totalLateNumber = $totallate;
$totallatePercentage = !empty($totaltodo) ? round($totallate / $totaltodo * 100, 2) : 0;
if(!empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) $totallate = $totallatePercentage;
$totallatePercentage = ((! empty($totaltodo)) ? round($totallate / $totaltodo * 100, 2) : 0);
if(! empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) $totallate = $totallatePercentage;
$boxwork='';
$boxwork.='<div class="box">';

View File

@ -1,5 +1,5 @@
<?php
if (! defined('ISLOADEDBYSTEELSHEET'))  die('Must be call by steelsheet'); ?>
if (! defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
/* <style type="text/css" > */
/*

View File

@ -1,5 +1,5 @@
<?php
if (! defined('ISLOADEDBYSTEELSHEET'))  die('Must be call by steelsheet'); ?>
if (! defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
/* <style type="text/css" > */
/*