Fix code style
This commit is contained in:
parent
43e0655dd5
commit
3d5361832d
@ -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">';
|
||||
|
||||
@ -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" > */
|
||||
|
||||
/*
|
||||
|
||||
@ -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" > */
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user