Subversion Repositories eFlore/Applications.del

Rev

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

Rev 1621 Rev 1645
Line 173... Line 173...
173
					$p['masque.departement'] = $params['masque.departement'];
173
					$p['masque.departement'] = $params['masque.departement'];
174
				}
174
				}
175
			} else {
175
			} else {
176
				$dpt_chaine = strtolower(str_replace(' ','-',iconv("UTF-8", "ASCII//TRANSLIT", $params['masque.departement'])));	
176
				$dpt_chaine = strtolower(str_replace(' ','-',iconv("UTF-8", "ASCII//TRANSLIT", $params['masque.departement'])));	
177
				$c->chargerConfiguration('config_departements_bruts.ini');
177
				$c->chargerConfiguration('config_departements_bruts.ini');
-
 
178
				$dpt_numero = $c->getParametre($dpt_chaine);
-
 
179
				if($dpt_numero != null && $dpt_numero != "") {
178
				$p['masque.departement'] = str_pad($c->getParametre($dpt_chaine), 5, '_');
180
					$p['masque.departement'] = str_pad($dpt_numero, 5, '_');
-
 
181
				}
179
			}
182
			}
180
		}
183
		}
Line 181... Line 184...
181
 
184
 
182
		if (isset($params['masque.date'])) {
185
		if (isset($params['masque.date'])) {