Пример #1
0
 public static function affiche_calendrier_fermeture($year, $groupe_id = 0)
 {
     // on construit le tableau de l'année considérée
     $tab_year = array();
     \hr\Fonctions::get_tableau_jour_fermeture($year, $tab_year, $groupe_id);
     $return = '';
     $return .= '<div class="calendar calendar-year">';
     $months = array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12');
     foreach ($months as $month) {
         $return .= '<div class="month">';
         $return .= '<div class="wrapper">';
         $return .= \hr\Fonctions::affiche_calendrier_fermeture_mois($year, $month, $tab_year);
         $return .= '</div>';
         $return .= '</div>';
     }
     $return .= '</div>';
     return $return;
 }