Subversion Repositories eFlore/Applications.del

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1698 → Rev 1699

/branches/v1.2-lithium/src/org/tela_botanica/del/client/modeles/Observation.java
264,8 → 264,13
String refFmt = "";
// on ne renvoie que le code du référentiel, sans version, et seulement également si l'on possède
// un numéro nomenclatural associé (ce qui nous assure une certaine cohérence)
if(referentiel.length() >= 5 && numNomenclatural != null && !numNomenclatural.equals("0")) {
refFmt = referentiel.substring(0, 5);
if(referentiel.length() >= 3 && numNomenclatural != null && !numNomenclatural.equals("0")) {
int positionDeuxPoints = referentiel.indexOf(':');
if (positionDeuxPoints == -1) {
refFmt = referentiel;
} else {
refFmt = referentiel.substring(0, positionDeuxPoints);
}
}
return refFmt;
}
/branches/v1.2-lithium/src/org/tela_botanica/del/client/i18n/Vocabulary.java
1101,8 → 1101,8
* @return translated "Flore d'Afrique de l'Ouest et du Centre"
*/
@DefaultStringValue("Flore d'Afrique de l'Ouest et du Centre")
@Key("referentielBdtao")
String referentielBdtao();
@Key("referentielApd")
String referentielApd();
 
/**
* Translated "Tous les référentiels".
/branches/v1.2-lithium/src/org/tela_botanica/del/client/i18n/Vocabulary.properties
181,7 → 181,7
referentielBdtfx = Trachéophytes de France métropolitaine
referentielBdtxa = Trachéophytes des Antilles françaises
referentielIsfan = Flore d'Afrique du Nord
referentielBdtao = Flore d'Afrique de l'Ouest et du Centre
referentielApd = Flore d'Afrique de l'Ouest et du Centre
 
 
#composant pagination
/branches/v1.2-lithium/src/org/tela_botanica/del/client/services/ReferentielService.java
23,7 → 23,7
referentiels.put("bdtfx", I18n.getVocabulary().referentielBdtfx());
referentiels.put("bdtxa", I18n.getVocabulary().referentielBdtxa());
referentiels.put("isfan", I18n.getVocabulary().referentielIsfan());
referentiels.put("bdtao", I18n.getVocabulary().referentielBdtao());
referentiels.put("apd", I18n.getVocabulary().referentielApd());
}
return referentiels;
}
/branches/v1.2-lithium/services/modules/0.1/DelTk.php
146,7 → 146,7
 
$p['tri'] = DelTK::unsetIfInvalid($params, 'tri', array('date_observation'));
$p['ordre'] = DelTK::unsetIfInvalid($params, 'ordre', array('asc','desc'));
$p['masque.referentiel'] = DelTK::unsetIfInvalid($params, 'masque.referentiel', array('bdtfx','bdtxa','isfan','bdtao'));
$p['masque.referentiel'] = DelTK::unsetIfInvalid($params, 'masque.referentiel', array('bdtfx','bdtxa','isfan','apd'));
 
// TODO: use filter_input(INPUT_GET);
// renvoie FALSE ou NULL si absent ou invalide
/branches/v1.2-lithium/.
Property changes:
Modified: svn:mergeinfo
Merged /trunk:r1688,1691