<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<erl>
+ out(A) ->
+ {header, {content_type,
+ case string:str((A#arg.headers)#headers.user_agent, "MSIE") of
+ 0 -> "application/xhtml+xml";
+ _ -> "text/html"
+ end
+ }}.
+</erl>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
//
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see <http://www.gnu.org/licenses/>.
-\r
-/*jslint laxbreak:true */\r
+
+/*jslint laxbreak:true */
// tout euphorik est contenu dans cet objet
var euphorik = {};
$("#menu .register").click(function(){ pages.afficherPage("register"); });
$("#menu .about").click(function(){ pages.afficherPage("about"); });
+
// TODO : simplifier et pouvoir créer des liens par exemple : <span class="lien" href="conditions">Conditions d'utilisation</span>
$("#footer .conditions").click(function(){ pages.afficherPage("conditions_utilisation"); });
-
+
pages.ajouterPage(new euphorik.PageMinichat(client, formateur, util), true);
pages.ajouterPage(new euphorik.PageAdmin(client, formateur, util));
pages.ajouterPage(new euphorik.PageProfile(client, formateur, util));
messagePair = !messagePair;\r
}\r
});\r
- \r
+ \r
var DOM = $(XHTML);\r
\r
// pour chaque nouveau message au niveau du document on lui assigne ses événements\r
(this.systeme ? " systeme" : "") +\r
(this.ekMaster ? " ekMaster" + this.degreeOstentatoire : "") +\r
"\">" +\r
- "<div class=\"outilsMess\"><div class=\"extraire\"></div><div class=\"extraireCompletement\"></div></div><span class=\"entete\">" +\r
- "<span class=\"dateComplete\">[<span class=\"date\">" + this.date + "</span>]</span>" +\r
- "<span class=\"pseudo\"><span class=\"id\" style=\"display: none\">" + this.auteurId + "</span class=\"ident\">" + identifiant + "</span></span><span class=\"delimitationEntete\"></span>" +\r
+ "<div class=\"outilsMess\"><div class=\"extraire\"></div><div class=\"extraireCompletement\"></div></div>"+\r
+ "<span class=\"entete\">" +\r
+ "<span class=\"dateComplete\">[<span class=\"date\">" + this.date + "</span>]</span>" +\r
+ "<span class=\"pseudo\"><span class=\"id\" style=\"display: none\">" + this.auteurId + "</span><span class=\"ident\">" + identifiant + "</span></span>" +\r
+ "</span>" + \r
+ "<span class=\"delimitationEntete\"></span>" +\r
XHTMLrepondA +\r
"<span class=\"contenu\">" + this.formateur.traitementComplet(this.contenu, this.pseudo) + "</span>" +\r
"</div>";\r
euphorik.PageMinichat.prototype.charger = function() {
thisPage = this;
-
+
$("#posterMessage input.pseudo").val(this.client.pseudo);
// cet appel ne doit pas être fait avant l'appel à 'charger'
this.chargerConversationsFragment();
this.conversations.rafraichirMessages(true);
-
+
this.util.setCaretToEnd($("form#posterMessage input.message")[0]);
// les outils de bannissement (uniquement pour les ekMaster)
' </tr>' : '') +\r
' <tr>' +\r
' <td></td>' +\r
- ' <td><button>Valider</button>' +\r
+ ' <td><button>Valider</button></td>' +\r
' </tr>' +\r
' </table>' +\r
'</form>';\r