// coding: utf-8
// Copyright 2008 Grégory Burri
//
// This file is part of Euphorik.
//
// Euphorik is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Euphorik is distributed in the hope that it will be useful,
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
/*jslint laxbreak:true */
euphorik.PageMinichat = function(client, formatter, util, communication) {
this.name = "minichat";
this.client = client;
this.formatter = formatter;
this.util = util;
this.communication = communication;
this.commandes = new euphorik.Commandes(this.client, this, this.util, this.formatter);
// permet d'éviter d'envoyer plusieurs messages simultanément en pressant
// rapidement sur "enter" par exemple
this.envoieMessageEnCours = false;
};
euphorik.PageMinichat.prototype.contenu = function() {
// le fait que tout soit collé est fait exprès, permet d'éviter d'avoir des espaces supplémentaires entre les spans
var formulaireXHTML = '' +
'
';
var conversationXHTML = '