heures jour/nuit modifiées

This commit is contained in:
Gauvain Boiché
2020-04-06 14:03:05 +02:00
parent bff3595c4d
commit 5740cf635a
2 changed files with 3 additions and 3 deletions

View File

@@ -4130,7 +4130,7 @@ function page_header($page_title = '', $display_online_list = false, $item_id =
}
$current_hour = date('H');
$day_state = $current_hour >= 4 && $current_hour <= 16 ? 'jour' : 'nuit';
$day_state = $current_hour >= 6 && $current_hour <= 18 ? 'jour' : 'nuit';
// The following assigns all _common_ variables that may be used at any point in a template.
$template->assign_vars(array(