Subversion Repositories Applications.referentiel

Compare Revisions

Ignore whitespace Rev 218 → Rev 219

/trunk/scripts/modules/versionnage/Versionnage.php
316,6 → 316,7
private function creerFichierBdntPartiel(&$donnees) {
$this->definirChampsPartiel();
$this->creerCorrespondanceRangBdntTaxref();
$this->creerCorrespondanceStatutBdntTaxref();
Debug::printr(current($donnees['noms']));
$donnees['champs_partiel'] = $this->champs_nom_partiel;
588,6 → 589,11
$diff = array();
foreach ($this->noms as $id => $nom) {
unset($this->noms[$id]);
// Ajout de champs spécifique à Taxref généré depuis les données BDNT
$nom['taxref_rang'] = $this->attribuerRangTaxref($nom['rang']);
$nom['taxref_statut'] = $this->attribuerStatutTaxref($nom);
$infos = array();
if (!isset($this->noms_precedents[$id])) {
$infos = $this->traiterDiffAjout($nom);
594,6 → 600,11
} else {
$nom_precedent = $this->noms_precedents[$id];
unset($this->noms_precedents[$id]);
// Ajout de champs spécifique à Taxref généré depuis les données BDNT
$nom_precedent['taxref_rang'] = $this->attribuerRangTaxref($nom_precedent['rang']);
$nom_precedent['taxref_statut'] = $this->attribuerStatutTaxref($nom_precedent);
array_walk($nom_precedent, create_function('&$val', '$val = trim($val);'));
$infos = $this->traiterDiffModif($nom, $nom_precedent);
}
645,7 → 656,7
private function creerFichierMetaPartiel(&$donnees) {
$donnees['signature'] = $this->signature_md5_partiel;
$donnees['stats'] = $this->noms_stat_partiel;
$donnees['notes'] = trim('Édition partielle. '.$donnees['notes']);
$donnees['notes'] = trim($this->manuel['notes_partiel'].' '.$donnees['notes']);
$meta_tsv_partiel =& $this->getVue('versionnage/squelettes/meta', &$donnees, '.tpl.tsv');
$this->ecrireFichierMetaPartiel($meta_tsv_partiel);
}