var XHTMLrepondA = ""
for (var id in message.repondA)
XHTMLrepondA += this.formateur.traitementComplet(message.repondA[id].pseudo) + "> "
- XHTMLrepondA = "<div class=\"repondA\">" + XHTMLrepondA + "</div>"
+ XHTMLrepondA = "<span class=\"repondA\">" + XHTMLrepondA + "</span>"
XHTML +=
"<div id=\"" + message.id + "\" class=\"" + (parseInt(message.id, 36) % 2 == 0 ? "messagePair" : "messageImpair") + " message" +
(this.messages[i].appartientAuClient ? " proprietaire" : "") + (this.messages[i].clientARepondu ? " repondu" : "") + (this.messages[i].estUneReponse ? " reponse" : "") + (this.messages[i].systeme ? " systeme" : "") +
"\" >" +
"<div class=\"extraire\">></div>" +
- "[<div class=\"date\">" + message.date + "</div>]" +
- "<div class=\"pseudo\">" + this.formateur.traitementComplet(message.pseudo) + "</div>:" +
+ "[<span class=\"date\">" + message.date + "</span>]" +
+ "<span class=\"pseudo\">" + this.formateur.traitementComplet(message.pseudo) + "</span>:" +
XHTMLrepondA +
- "<div class=\"contenu\">" + (message.systeme ? this.formateur.remplacerBalisesHTML(message.contenu) : this.formateur.traitementComplet(message.contenu, message.pseudo)) + "</div>" +
+ "<span class=\"contenu\">" + (message.systeme ? this.formateur.remplacerBalisesHTML(message.contenu) : this.formateur.traitementComplet(message.contenu, message.pseudo)) + "</span>" +
"</div>"
}
//alert(this.getId())