heures jour/nuit modifiées
This commit is contained in:
@@ -422,7 +422,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
}
|
||||
|
||||
$current_hour = date('H');
|
||||
$day_state = $current_hour >= 4 && $current_hour <= 16 ? 'jour' : 'nuit';
|
||||
$day_state = $current_hour >= 6 && $current_hour <= 18 ? 'jour' : 'nuit';
|
||||
$forum_image = str_replace(".", "_$day_state.", $row['forum_image']);
|
||||
|
||||
$cat_row = array(
|
||||
@@ -606,7 +606,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||
}
|
||||
|
||||
$current_hour = date('H');
|
||||
$day_state = $current_hour >= 4 && $current_hour <= 16 ? 'jour' : 'nuit';
|
||||
$day_state = $current_hour >= 6 && $current_hour <= 18 ? 'jour' : 'nuit';
|
||||
$forum_image = str_replace(".", "_$day_state.", $row['forum_image']);
|
||||
|
||||
$forum_row = array(
|
||||
|
||||
Reference in New Issue
Block a user