CSS enhancement
This commit is contained in:
parent
2315997aad
commit
01f09e6c09
@ -507,10 +507,10 @@ $tmparray = dol_getdate($daytoparse,true); // detail of current day
|
||||
$idw = $tmparray['wday'];
|
||||
|
||||
$cssweekend='';
|
||||
if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
{
|
||||
$cssweekend='weekend';
|
||||
}
|
||||
}*/
|
||||
|
||||
print '<td class="center'.($cssweekend?' '.$cssweekend:'').'">'.$langs->trans("Duration").'</td>';
|
||||
print '<td class="center">'.$langs->trans("Note").'</td>';
|
||||
@ -531,10 +531,10 @@ if ($conf->use_javascript_ajax)
|
||||
$idw = $tmparray['wday'];
|
||||
|
||||
$cssweekend='';
|
||||
if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
{
|
||||
$cssweekend='weekend';
|
||||
}
|
||||
}*/
|
||||
|
||||
print '<td class="liste_total center'.($cssweekend?' '.$cssweekend:'').'"><div class="totalDay0"> </div></td>';
|
||||
|
||||
@ -624,10 +624,10 @@ if (count($tasksarray) > 0)
|
||||
$idw = $tmparray['wday'];
|
||||
|
||||
$cssweekend='';
|
||||
if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
{
|
||||
$cssweekend='weekend';
|
||||
}
|
||||
}*/
|
||||
|
||||
print '<td class="liste_total center'.($cssweekend?' '.$cssweekend:'').'"><div class="totalDay0"> </div></td>';
|
||||
|
||||
|
||||
@ -540,10 +540,10 @@ if ($conf->use_javascript_ajax)
|
||||
for ($idw = 0; $idw < 7; $idw++)
|
||||
{
|
||||
$cssweekend='';
|
||||
if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
{
|
||||
$cssweekend='weekend';
|
||||
}
|
||||
}*/
|
||||
|
||||
print '<td class="liste_total hide'.$idw.($cssweekend?' '.$cssweekend:'').'" align="center"><div class="totalDay'.$idw.'"> </div></td>';
|
||||
}
|
||||
@ -651,10 +651,10 @@ if (count($tasksarray) > 0)
|
||||
for ($idw = 0; $idw < 7; $idw++)
|
||||
{
|
||||
$cssweekend='';
|
||||
if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
/*if (($idw + 1) < $numstartworkingday || ($idw + 1) > $numendworkingday) // This is a day is not inside the setup of working days, so we use a week-end css.
|
||||
{
|
||||
$cssweekend='weekend';
|
||||
}
|
||||
}*/
|
||||
|
||||
print '<td class="liste_total hide'.$idw.($cssweekend?' '.$cssweekend:'').'" align="center"><div class="totalDay'.$idw.'"> </div></td>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user