X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageMinichat.js;h=13f337581a7312be1356ce7a787fdcf3cd799a0d;hb=0fd41878c239877c274bd2bf58caf65b24977e52;hp=ed0321c4f7cd7daf463c2814bb46e1c2d9d3dd3a;hpb=7e76d6bc2ccd165730addd3337656b479f9d95d4;p=euphorik.git diff --git a/js/pageMinichat.js b/js/pageMinichat.js index ed0321c..13f3375 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -1,914 +1,292 @@ // coding: utf-8 - -function PageMinichat(client, formateur, util) -{ - this.nom = "minichat" - - this.client = client - this.formateur = formateur - this.util = util - - this.regexMessageTagMatch = /\{.*?\}>/g - this.regexMessageTagReplace = /^(.*?\{.*?\}>)*/ -} - -PageMinichat.prototype.contenu = function() -{ - return '\ -
\ -' -} - -PageMinichat.prototype.charger = function() -{ - thisPage = this - - $("form input.pseudo").val(this.client.pseudo) - +// 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