Subversion Repositories eFlore/Projets.eflore-projets

Rev

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

Rev 129 Rev 185
Line 238... Line 238...
238
			case 'sp'		:
238
			case 'sp'		:
239
				foreach ($tab_x as $hyb) {
239
				foreach ($tab_x as $hyb) {
240
					if (substr_count($hyb, ' ') >= 1) {
240
					if (substr_count($hyb, ' ') >= 1) {
241
						list($gen, $sp) = explode(' ', $hyb);
241
						list($gen, $sp) = explode(' ', $hyb);
242
						$formule_hyb[] = sprintf($this->spFHTpl, $gen, $sp);
242
						$formule_hyb[] = sprintf($this->spFHTpl, $gen, $sp);
-
 
243
					} else if (preg_match('/^[A-Z]/', $hyb)) {
243
					} else {
244
						$gen = $hyb;
244
						$avertissement = "Nom #%s : la valeur d'hybride '%s' ne contenait pas d'espace .";
-
 
245
						$this->traiterAvertissement($avertissement, array($this->num, $hyb));
245
						$formule_hyb[] = sprintf($this->genTpl, $gen);
246
					}
246
					}
247
				}
247
				}
248
				break;
248
				break;
249
			case 'infra-sp' :
249
			case 'infra-sp' :
250
				foreach ($tab_x as $hyb) {
250
				foreach ($tab_x as $hyb) {