Subversion Repositories Applications.gtt

Rev

Rev 62 | Rev 104 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 62 Rev 73
Line 76... Line 76...
76
    }
76
    }
Line 77... Line 77...
77
 
77
 
78
    public function rendre()
78
    public function rendre()
79
    {
79
    {
80
    	$contenu_principal = null;
80
    	$contenu_principal = null;
81
    	$aso_contenu = array('zone_contenu' => '', 'zone_menu' => '', 'zone_identification' => '');
81
    	$aso_contenu = array('zone_contenu' => '', 'zone_menu' => '', 'zone_identification' => '', 'zone_calendrier' => '');
82
    	foreach ($this->getRegistre()->getEspaces() as $espace_de_nom) {
82
    	foreach ($this->getRegistre()->getEspaces() as $espace_de_nom) {
83
    		if (is_array($this->getRegistre()->getDonnees($espace_de_nom))) {
83
    		if (is_array($this->getRegistre()->getDonnees($espace_de_nom))) {
84
    			$fichier_squelette = GTT_CHEMIN_PRESENTATION.$this->getRegistre()->getSquelettes($espace_de_nom);
84
    			$fichier_squelette = GTT_CHEMIN_PRESENTATION.$this->getRegistre()->getSquelettes($espace_de_nom);
85
    			if (file_exists($fichier_squelette)) {
85
    			if (file_exists($fichier_squelette)) {
Line 91... Line 91...
91
					// RĂ©partition dans des zones
91
					// RĂ©partition dans des zones
92
					switch($espace_de_nom) {
92
					switch($espace_de_nom) {
93
		    			case 'principal' :
93
		    			case 'principal' :
94
		    				$contenu_principal .= ob_get_contents();
94
		    				$contenu_principal .= ob_get_contents();
95
		    				break;
95
		    				break;
-
 
96
		    			case 'zone_calendrier' :
-
 
97
		    				$aso_contenu['zone_calendrier'] .= ob_get_contents();
-
 
98
		    				break;
96
		    			case 'identification' :
99
		    			case 'identification' :
97
		    				$aso_contenu['zone_identification'] .= ob_get_contents();
100
		    				$aso_contenu['zone_identification'] .= ob_get_contents();
98
		    				break;
101
		    				break;
99
		    			case 'zone_menu' :
102
		    			case 'zone_menu' :
100
		    				$aso_contenu['zone_menu'] .= ob_get_contents();
103
		    				$aso_contenu['zone_menu'] .= ob_get_contents();