Subversion Repositories eFlore/Applications.del

Rev

Rev 2049 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2049 Rev 2077
Line 73... Line 73...
73
		if ($this->methode == 'consulter') {
73
		if ($this->methode == 'consulter') {
74
			//S'il n'y a pas de ressources => envoyer sur identification anonyme
74
			//S'il n'y a pas de ressources => envoyer sur identification anonyme
75
			if (!isset($this->ressources) || empty($this->ressources)) {
75
			if (!isset($this->ressources) || empty($this->ressources)) {
76
				$this->sousServiceNom = 'identification';
76
				$this->sousServiceNom = 'identification';
77
			} else {
77
			} else {
78
				if (count($this->ressources) == 1 && ($this->ressources[0] == 'deconnecter')) {
-
 
79
					$this->sousServiceNom = 'deconnecter';
-
 
80
				} else if(count($this->ressources) == 2 && $this->ressources[1] == 'preferences') {
78
				if(count($this->ressources) == 2 && $this->ressources[1] == 'preferences') {
81
					$this->sousServiceNom = 'preferences';
79
					$this->sousServiceNom = 'preferences';
82
				} else if(count($this->ressources) == 2 && $this->ressources[1] == 'activite') {
80
				} else if(count($this->ressources) == 2 && $this->ressources[1] == 'activite') {
83
					$this->sousServiceNom = 'activite';
81
					$this->sousServiceNom = 'activite';
84
				} else if (count($this->ressources) == 2) {
-
 
85
					$this->sousServiceNom = 'connecter';
-
 
86
				} else {
82
				} else {
87
					$this->sousServiceNom = 'identification';
83
					$this->sousServiceNom = 'identification';
88
				}
84
				}
89
			}
85
			}
90
		} else if ($this->methode == 'modifier') {
86
		} else if ($this->methode == 'modifier') {