From: Greg Burri Date: Wed, 28 Jan 2009 10:05:00 +0000 (+0000) Subject: MOD french -> english (3) X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=commitdiff_plain;h=eb44db02bab9c8b082201aa153dea8229432e894 MOD french -> english (3) DEL third style --- diff --git a/js/chat/commandes.js b/js/chat/commandes.js index dbcc76a..372f195 100644 --- a/js/chat/commandes.js +++ b/js/chat/commandes.js @@ -25,7 +25,7 @@ * * Voici les commandes supportées : * /nick - * Modifie le pseudo courant + * Modifie le nick courant */ euphorik.Commandes = function(client, pageMinichat, util, formater) { var thisCommandes = this; @@ -50,16 +50,16 @@ euphorik.Commandes.statut = {ok : 0, pas_une_commande : 1, erreur_commande : 2}; euphorik.Commandes.liste = { "nick" : { - description : "Change le pseudo courant", - usage : "/nick ", + description : "Change le nick courant", + usage : "/nick ", exec : function(args, client) { if (args.length === 0) { return [euphorik.Commandes.statut.erreur_commande, 'Utilisation de la commande : ' + this.usage]; } - client.pseudo = args[0]; - $("form#posterMessage input.pseudo").val(client.pseudo); + client.nick = args[0]; + $("form#posterMessage input.nick").val(client.nick); return [euphorik.Commandes.statut.ok, '']; } diff --git a/js/chat/conversation.js b/js/chat/conversation.js index 635f50a..aa7b3ca 100644 --- a/js/chat/conversation.js +++ b/js/chat/conversation.js @@ -385,14 +385,14 @@ euphorik.Conversation.prototype.attacherEventsSurMessage = function(element) { // les outils de bannissement (uniquement pour les ekMaster) if (thisConversation.client.ekMaster) { - $(".pseudo", element).hover( + $(".nick", element).hover( function(e) { var userId = parseInt($(".id", this).text(), 10); - var pseudo = $(this); - var h = pseudo.outerHeight(); - var offset = pseudo.offset(); + var nick = $(this); + var h = nick.outerHeight(); + var offset = nick.offset(); // TODO : calculer automatiquement la largeur plutôt que d'inscrire des valeurs en brut' - thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(pseudo.outerWidth() + 16 * 3 + 12 + 64).prependTo(this).show(); + thisConversation.util.outilsBan.css("top", offset.top - 2).css("left", offset.left - 2).height(h < 16 ? 16 : h).width(nick.outerWidth() + 16 * 3 + 12 + 64).prependTo(this).show(); $("img", thisConversation.util.outilsBan).unbind("click"); $("#slap", thisConversation.util.outilsBan).click( function() { diff --git a/js/chat/conversations.js b/js/chat/conversations.js index 063220c..b3f18f3 100644 --- a/js/chat/conversations.js +++ b/js/chat/conversations.js @@ -181,7 +181,7 @@ euphorik.Conversations.prototype.afficherMessagesRepondConversations = function( euphorik.Conversations.prototype.getJSONrafraichirMessages = function() { var mess = { "message_count" : euphorik.conf.nbMessageAffiche, - "main_page" : this.client.pagePrincipale, + "main_page" : this.client.mainConversationPage, "conversations" : this.getJSONConversations(), "troll_id" : this.trollIdCourant }; @@ -232,7 +232,7 @@ euphorik.Conversations.prototype.ajouterMessages = function(elements, numConvers // renseigne la conversation sur la page courante et si c'est la dernière this.conversations[numConversation].setPage( - numConversation === 0 ? this.client.pagePrincipale : this.client.conversations[numConversation - 1].page, + numConversation === 0 ? this.client.mainConversationPage : this.client.conversations[numConversation - 1].page, elements.last_page ); diff --git a/js/chat/message.js b/js/chat/message.js index c24be1d..2586dbb 100644 --- a/js/chat/message.js +++ b/js/chat/message.js @@ -16,11 +16,9 @@ // You should have received a copy of the GNU General Public License // along with Euphorik. If not, see . -euphorik.Reponse = function(id, pseudo, login) { +euphorik.Reponse = function(id, nick, login) { this.id = id; - this.pseudo = pseudo; - this.login = login; - this.pseudo = pseudo || ""; + this.nick = nick || ""; this.login = login || ""; }; @@ -35,7 +33,7 @@ euphorik.Message = function(client, formater, element) { this.auteurId = element.user_id; this.racineId = element.root; this.date = element.date; - this.pseudo = element.nick; + this.nick = element.nick; this.login = element.login; this.contenu = element.content; @@ -120,9 +118,9 @@ euphorik.Message.prototype.XHTML = function(messagePair, pre) { // construit l'identifiant de la personne var identifiant = - this.client.nickFormat === "nick" || this.login === "" ? this.formater.traitementComplet(this.pseudo) : + this.client.nickFormat === "nick" || this.login === "" ? this.formater.traitementComplet(this.nick) : (this.client.nickFormat === "login" ? this.formater.traitementComplet(this.login) : - this.formater.traitementComplet(this.pseudo) + "(" + this.formater.traitementComplet(this.login) +")" ); + this.formater.traitementComplet(this.nick) + "(" + this.formater.traitementComplet(this.login) +")" ); var XHTMLrepondA = ""; var debut = true; @@ -130,7 +128,7 @@ euphorik.Message.prototype.XHTML = function(messagePair, pre) { if (!debut) { XHTMLrepondA += ", "; } - XHTMLrepondA += thisMessage.formater.traitementComplet(rep.pseudo); + XHTMLrepondA += thisMessage.formater.traitementComplet(rep.nick); debut = false; }); if (XHTMLrepondA) { @@ -146,10 +144,10 @@ euphorik.Message.prototype.XHTML = function(messagePair, pre) { "\">" + "" + "[" + this.date + "]" + - "" + this.auteurId + "" + identifiant + "" + + "" + this.auteurId + "" + identifiant + "" + "" + "" + XHTMLrepondA + - "" + this.formater.traitementComplet(this.contenu, this.pseudo) + "" + + "" + this.formater.traitementComplet(this.contenu, this.nick) + "" + ""; }; diff --git a/js/client.js b/js/client.js index 98c0413..917ae8e 100644 --- a/js/client.js +++ b/js/client.js @@ -19,7 +19,18 @@ /*jslint laxbreak:true */ /** - * Représente l'utilisateur du site. + * Object that represents the user. + * It carries all the user data like + * - ID + * - Nick + * - E-Mail + * - etc.. + * It can access directly to the DOM if needed. Some examples : + * - Changes the menu if the user is logged or not + * - Changes the logo if the user is an ek master + * - etc.. + * @util See util.js. + * @communication See communication.js. */ euphorik.Client = function(util, communication) { this.util = util; @@ -28,28 +39,28 @@ euphorik.Client = function(util, communication) { this.cookie = null; this.regexCookie = /cookie=([^;]*)/; - // données personnels - this.resetDonneesPersonnelles(); + this.resetPersonalData(); - this.setStatut(euphorik.Client.statutType.disconnected); + this.setStatus(euphorik.Client.statusType.disconnected); - // si true alors chaque modification du client est mémorisé sur le serveur + // If true then each data change is flushed to the server. + // Active only for opera which doesn't support the unload event. this.autoflush = $.browser.opera; }; -// les statuts possibes du client -euphorik.Client.statutType = { - // mode enregistré, peut poster des messages et modifier son profile +// The three status of a client. +euphorik.Client.statusType = { + // authentified and registered : The user can post messages and can modify his profile auth_registered : 0, - // mode identifié, peut poster des messages mais n'a pas accès au profile + // authentified but not registered : The user can only post messages auth_not_registered : 1, - // mode déconnecté, ne peut pas poster de message + // disconnected (the initial state) : The user cannot post message disconnected : 2 }; -euphorik.Client.prototype.resetDonneesPersonnelles = function() { +euphorik.Client.prototype.resetPersonalData = function() { this.id = 0; - this.pseudo = euphorik.conf.pseudoDefaut; + this.nick = euphorik.conf.defaultNick; this.login = ""; this.password = ""; this.email = ""; @@ -60,7 +71,7 @@ euphorik.Client.prototype.resetDonneesPersonnelles = function() { this.viewTooltips = true; this.cookie = undefined; - this.pagePrincipale = 1; + this.mainConversationPage = 1; this.ekMaster = false; this.ostentatiousMaster = "light"; @@ -84,8 +95,8 @@ euphorik.Client.prototype.setCss = function(css) { }; euphorik.Client.prototype.pageSuivante = function(numConv) { - if (numConv < 0 && this.pagePrincipale > 1) { - this.pagePrincipale -= 1; + if (numConv < 0 && this.mainConversationPage > 1) { + this.mainConversationPage -= 1; } else if (this.conversations[numConv].page > 1) { this.conversations[numConv].page -= 1; } @@ -93,7 +104,7 @@ euphorik.Client.prototype.pageSuivante = function(numConv) { euphorik.Client.prototype.pagePrecedente = function(numConv) { if (numConv < 0) { - this.pagePrincipale += 1; + this.mainConversationPage += 1; } else { this.conversations[numConv].page += 1; } @@ -106,10 +117,10 @@ euphorik.Client.prototype.pagePrecedente = function(numConv) { euphorik.Client.prototype.goPremierePage = function(numConv) { if (numConv < 0) { - if (this.pagePrincipale === 1) { + if (this.mainConversationPage === 1) { return false; } - this.pagePrincipale = 1; + this.mainConversationPage = 1; } else { if (this.conversations[numConv].page === 1) { return false; @@ -180,7 +191,7 @@ euphorik.Client.prototype.getJSONProfile = function() { euphorik.Client.prototype.getJSONProfileInfos = function() { return { - "nick" : this.pseudo, + "nick" : this.nick, "email" : this.email, "css" : this.css, "chat_order" : this.chatOrder, @@ -214,7 +225,7 @@ euphorik.Client.prototype.setCookie = function() { return; } - // ne fonctionne pas sous IE.... + // doesn't work under IE.... /*document.cookie = "cookie=" + this.cookie + "; max-age=" + (60 * 60 * 24 * 365) */ document.cookie = @@ -222,17 +233,17 @@ euphorik.Client.prototype.setCookie = function() { }; euphorik.Client.prototype.authentifie = function() { - return this.statut === euphorik.Client.statutType.auth_registered || this.statut === euphorik.Client.statutType.auth_not_registered; + return this.statut === euphorik.Client.statusType.auth_registered || this.statut === euphorik.Client.statusType.auth_not_registered; }; -euphorik.Client.prototype.setStatut = function(statut) +euphorik.Client.prototype.setStatus = function(statut) { // conversation en "enum" si en "string" if (typeof(statut) === "string") { statut = statut === "auth_registered" ? - euphorik.Client.statutType.auth_registered : - (statut === "auth_not_registered" ? euphorik.Client.statutType.auth_not_registered : euphorik.Client.statutType.disconnected); + euphorik.Client.statusType.auth_registered : + (statut === "auth_not_registered" ? euphorik.Client.statusType.auth_not_registered : euphorik.Client.statusType.disconnected); } if (statut === this.statut) { @@ -266,7 +277,7 @@ euphorik.Client.prototype.enregistrement = function(login, password) { this.login = login; this.password = password; if(this.flush()) { - this.setStatut(euphorik.Client.statutType.auth_registered); + this.setStatus(euphorik.Client.statusType.auth_registered); return true; } return false; @@ -316,8 +327,8 @@ euphorik.Client.prototype.connexion = function(action, messageJson) { euphorik.Client.prototype.disconnect = function() { this.flush(true); this.delCookie(); - this.resetDonneesPersonnelles(); - this.setStatut(euphorik.Client.statutType.disconnected); + this.resetPersonalData(); + this.setStatus(euphorik.Client.statusType.disconnected); }; euphorik.Client.prototype.chargerDonnees = function(data) { @@ -325,7 +336,7 @@ euphorik.Client.prototype.chargerDonnees = function(data) { // de l'état ekMaster this.ekMaster = data.ek_master ? data.ek_master : false; - this.setStatut(data.status); + this.setStatus(data.status); if (this.authentifie()) { this.cookie = data.cookie; @@ -333,7 +344,7 @@ euphorik.Client.prototype.chargerDonnees = function(data) { this.id = data.id; this.login = data.login; - this.pseudo = data.profile.nick; + this.nick = data.profile.nick; this.email = data.profile.email; this.setCss(data.profile.css); this.chatOrder = data.profile.chat_order; @@ -343,7 +354,7 @@ euphorik.Client.prototype.chargerDonnees = function(data) { this.ostentatiousMaster = data.profile.ostentatious_master; // la page de la conversation principale - this.pagePrincipale = 1; + this.mainConversationPage = 1; // les conversations this.conversations = data.profile.conversations; @@ -393,11 +404,11 @@ euphorik.Client.prototype.majMenu = function() { $("#menu .admin").css("display", this.ekMaster ? displayType : "none"); // met à jour le menu - if (this.statut === euphorik.Client.statutType.auth_registered) { + if (this.statut === euphorik.Client.statusType.auth_registered) { $("#menu .profile").css("display", displayType).text("profile"); $("#menu .logout").css("display", displayType); $("#menu .register").css("display", "none"); - } else if (this.statut === euphorik.Client.statutType.auth_not_registered) { + } else if (this.statut === euphorik.Client.statusType.auth_not_registered) { $("#menu .profile").css("display", "none"); $("#menu .logout").css("display", displayType); $("#menu .register").css("display", displayType); diff --git a/js/conf.js b/js/conf.js index 6ab068b..57ddf25 100644 --- a/js/conf.js +++ b/js/conf.js @@ -22,7 +22,7 @@ euphorik.conf = { versionProtocole : 3, // version du protcole nbMessageAffiche : 40, // (par page) - pseudoDefaut : "", + defaultNick : "", tempsAffichageMessageDialogue : 4000, // en ms tempsKick : 15, // en minute tempsBan : 60 * 24 * 3, // en minutes (3 jours) diff --git a/js/formater.js b/js/formater.js index eec87f8..349abe7 100644 --- a/js/formater.js +++ b/js/formater.js @@ -34,12 +34,12 @@ euphorik.Formater = function() { }; /** - * Formate un pseudo saise par l'utilisateur. - * @param pseudo le pseudo brut - * @return le pseudo filtré + * Formate un nick saise par l'utilisateur. + * @param nick le nick brut + * @return le nick filtré */ -euphorik.Formater.prototype.filtrerInputPseudo = function(pseudo) { - return pseudo.replace(/\{|\}/g, "").trim(); +euphorik.Formater.prototype.filtrerInputPseudo = function(nick) { + return nick.replace(/\{|\}/g, "").trim(); }; euphorik.Formater.prototype.getSmilesHTML = function() { @@ -53,10 +53,10 @@ euphorik.Formater.prototype.getSmilesHTML = function() { /** * Formatage complet d'un texte. * @m le message - * @pseudo facultatif, permet de contruire le label des images sous la forme : " : " + * @nick facultatif, permet de contruire le label des images sous la forme : " : " */ -euphorik.Formater.prototype.traitementComplet = function(m, pseudo) { - return this.traiterLiensConv(this.traiterSmiles(this.traiterURL(this.traiterWikiSyntaxe(this.remplacerBalisesHTML(m)), pseudo))); +euphorik.Formater.prototype.traitementComplet = function(m, nick) { + return this.traiterLiensConv(this.traiterSmiles(this.traiterURL(this.traiterWikiSyntaxe(this.remplacerBalisesHTML(m)), nick))); }; /** @@ -91,7 +91,7 @@ euphorik.Formater.prototype.remplacerBalisesHTML = function(m) { return m.replace(//g, ">").replace(/"/g, """); }; -euphorik.Formater.prototype.traiterURL = function(m, pseudo) { +euphorik.Formater.prototype.traiterURL = function(m, nick) { var thisFormater = this; var traitementUrl = function(url) { // si ya pas de protocole on rajoute "http://" @@ -99,7 +99,7 @@ euphorik.Formater.prototype.traiterURL = function(m, pseudo) { url = "http://" + url; } var extension = thisFormater.getShort(url); - return "[" + extension[0] + "]"; + return "[" + extension[0] + "]"; }; return m.replace(this.regexUrl, traitementUrl); }; @@ -162,7 +162,7 @@ euphorik.Formater.prototype.supprimerSmiles = function(m) { }; /** - * Traite les pseudo et messages à être affiché dans le titre d'une image visualisé avec lightbox. + * Traite les nick et messages à être affiché dans le titre d'une image visualisé avec lightbox. * Supprime les smiles pour pas qu'ils puissent être remplacés par la fonction 'traiterSmiles'. * TODO : trouver un moyen pour que les smiles puissent être conservés */ diff --git a/js/pageAdmin.js b/js/pageAdmin.js index d5d4679..7a937d7 100644 --- a/js/pageAdmin.js +++ b/js/pageAdmin.js @@ -134,7 +134,7 @@ euphorik.PageAdmin.prototype.majIPs = function() { '|'; ip.users.each(function(j, user) { XHTML += (j > 0 ? ", " : "") + - '' + thisPageAdmin.formater.traitementComplet(user.nick) + '' + + '' + thisPageAdmin.formater.traitementComplet(user.nick) + '' + (user.login === "" ? "" : ''); }); XHTML += 'débannir'; diff --git a/js/pageMinichat.js b/js/pageMinichat.js index 0b9c5b3..30ca5a3 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -38,7 +38,7 @@ euphorik.PageMinichat.prototype.contenu = function() { '
' + '

' + ' ' + - ' ' + + ' ' + ' 0' + ' ' + ' ' + @@ -63,7 +63,7 @@ euphorik.PageMinichat.prototype.classes = function() { euphorik.PageMinichat.prototype.charger = function() { thisPage = this; - $("#posterMessage input.pseudo").val(this.client.pseudo); + $("#posterMessage input.nick").val(this.client.nick); // cet appel ne doit pas être fait avant l'appel à 'charger' this.conversations = new euphorik.Conversations(this.client, this.formater, this.util, this.communication, this.fragment); @@ -186,10 +186,10 @@ euphorik.PageMinichat.prototype.charger = function() { // interdiction de submiter le formulaire $("form#posterMessage").submit(function(){ return false; }); - $("input.pseudo").click( + $("input.nick").click( function() { - var input = $("input.pseudo")[0]; - if (input.value === euphorik.conf.pseudoDefaut) { + var input = $("input.nick")[0]; + if (input.value === euphorik.conf.defaultNick) { input.value = ""; } } @@ -221,18 +221,18 @@ euphorik.PageMinichat.prototype.decharger = function() { }; /** - * Envoie un nouve message donné, le pseudo utilisé est celui se trouvant - * dans la zone de saisie (form#posterMessage input.pseudo). + * Envoie un nouve message donné, le nick utilisé est celui se trouvant + * dans la zone de saisie (form#posterMessage input.nick). */ euphorik.PageMinichat.prototype.envoyerMessage = function(message) { var thisPageMinichat = this; - var pseudo = $("form#posterMessage input.pseudo").val(); + var nick = $("form#posterMessage input.nick").val(); - // (un pseudo vide est autorisé) - pseudo = this.formater.filtrerInputPseudo(pseudo); + // (un nick vide est autorisé) + nick = this.formater.filtrerInputPseudo(nick); - if (pseudo === euphorik.conf.pseudoDefaut) { - this.util.messageDialog("Le pseudo ne peut pas être " + euphorik.conf.pseudoDefaut); + if (nick === euphorik.conf.defaultNick) { + this.util.messageDialog("Le nick ne peut pas être " + euphorik.conf.defaultNick); return; } @@ -242,7 +242,7 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(message) { return; } - this.client.pseudo = pseudo; + this.client.nick = nick; if (!this.client.authentifie()) { if (!this.client.enregistrement()) { @@ -260,7 +260,7 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(message) { this.communication.requete( "put_message", - this.getJSONMessage(pseudo, message), + this.getJSONMessage(nick, message), function() { $("form#posterMessage input.message").val(""); thisPageMinichat.conversations.enleverMessagesRepond(); @@ -279,7 +279,7 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(message) { ); }; -euphorik.PageMinichat.prototype.getJSONMessage = function(pseudo, message) { +euphorik.PageMinichat.prototype.getJSONMessage = function(nick, message) { var repondA = []; objectEach(this.conversations.messagesRepond, function(id) { repondA.push(parseInt(id, 10)); @@ -287,7 +287,7 @@ euphorik.PageMinichat.prototype.getJSONMessage = function(pseudo, message) { return { "cookie" : this.client.cookie, - "nick" : pseudo, + "nick" : nick, "content" : message, "answer_to" : repondA }; diff --git a/js/pageProfile.js b/js/pageProfile.js index 41e9fd5..2ae3fb3 100755 --- a/js/pageProfile.js +++ b/js/pageProfile.js @@ -46,7 +46,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() { var thisPage = this; $("form#profile input.login").val(this.client.login); - $("form#profile input.pseudo").val(this.client.pseudo); + $("form#profile input.nick").val(this.client.nick); $("form#profile input.email").val(this.client.email); $("form#profile input#viewTooltips").attr("checked", this.client.viewTooltips); $("form#profile input#viewTimes").attr("checked", this.client.viewTimes); @@ -64,7 +64,7 @@ euphorik.PageProfile.prototype.chargerProfile = function() { $("form#profile button").click( function() { - thisPage.client.pseudo = thisPage.formate.filtrerInputPseudo($("form#profile input.pseudo").val()); + thisPage.client.nick = thisPage.formate.filtrerInputPseudo($("form#profile input.nick").val()); thisPage.client.email = $("form#profile input.email").val(); thisPage.client.chatOrder = $("form#profile select#chatOrder option:selected").attr("value"); thisPage.client.nickFormat = $("form#profile select#affichagePseudo option:selected").attr("value"); @@ -125,8 +125,8 @@ euphorik.PageProfile.prototype.getHTML = function() { ' ' + ' ' + ' ' + - ' pseudo' + - ' ' + + ' nick' + + ' ' + ' ' + ' ' + ' e-mail' + diff --git a/styles/1/pageAdmin.css b/styles/1/pageAdmin.css index 47272a1..b791622 100644 --- a/styles/1/pageAdmin.css +++ b/styles/1/pageAdmin.css @@ -70,7 +70,7 @@ } #page.admin #ips .temps, -#page.admin #ips .pseudo { +#page.admin #ips .nick { margin-left : 10px; margin-right : 10px; } diff --git a/styles/1/pageMinichat.css b/styles/1/pageMinichat.css index 8bfa10d..9448c9c 100755 --- a/styles/1/pageMinichat.css +++ b/styles/1/pageMinichat.css @@ -108,7 +108,7 @@ margin: 0px; padding: 0px; } -#page.minichat form#posterMessage .pseudo { +#page.minichat form#posterMessage .nick { margin-right: 5px; width: 12% } @@ -313,23 +313,23 @@ margin-right: 3px; margin-left: 3px; } -#page.minichat div.message .pseudo, +#page.minichat div.message .nick, /* FIXME : entre en conflit avec une règle précédente */ -#page.minichat form .pseudo { +#page.minichat form .nick { margin-left: 4px; margin-right: 2px; font-weight: bold; } -#page.minichat div.message.ekMasterlight .pseudo { +#page.minichat div.message.ekMasterlight .nick { color: #f0df95 } -#page.minichat div.message.ekMasterheavy .pseudo { +#page.minichat div.message.ekMasterheavy .nick { color: #fcd82f; padding-right: 15px; background: transparent url(img/marque_ek.png) no-repeat scroll right center } -#page.minichat div.message .pseudo .login { +#page.minichat div.message .nick .login { margin-left: 2px; font-size: 8px; } diff --git a/styles/2/pageAdmin.css b/styles/2/pageAdmin.css index 371b601..0029bef 100644 --- a/styles/2/pageAdmin.css +++ b/styles/2/pageAdmin.css @@ -62,7 +62,7 @@ } #page.admin #ips .temps, -#page.admin #ips .pseudo { +#page.admin #ips .nick { margin-left : 10px; margin-right : 10px; } diff --git a/styles/2/pageMinichat.css b/styles/2/pageMinichat.css index 67b4d58..1019364 100755 --- a/styles/2/pageMinichat.css +++ b/styles/2/pageMinichat.css @@ -94,7 +94,7 @@ margin: 0px; padding: 0px; } -#page.minichat form#posterMessage .pseudo { +#page.minichat form#posterMessage .nick { margin-right: 5px; width: 12% } @@ -266,30 +266,30 @@ margin-right: 3px; margin-left: 3px; } -#page.minichat div.message .pseudo:after { +#page.minichat div.message .nick:after { content: ":" } -#page.minichat div.message .pseudo, -#page.minichat form .pseudo { +#page.minichat div.message .nick, +#page.minichat form .nick { margin-left: 4px; margin-right: 2px; font-weight: bold; color: #76ff33; } -#page.minichat div.message.ekMasterlight .pseudo { +#page.minichat div.message.ekMasterlight .nick { color: #ffffff; } -#page.minichat div.message.ekMasterheavy .pseudo { +#page.minichat div.message.ekMasterheavy .nick { color: #ffffff; text-decoration: underline } -#page.minichat div.message .pseudo .login { +#page.minichat div.message .nick .login { margin-left: 2px; font-size: 8px; color: #a7d88f; } -#page.minichat div.systeme .pseudo { +#page.minichat div.systeme .nick { color: #CCCCCC } #page.minichat .repondA { diff --git a/styles/3/euphorik.css b/styles/3/euphorik.css deleted file mode 100755 index 9a45b6e..0000000 --- a/styles/3/euphorik.css +++ /dev/null @@ -1,171 +0,0 @@ - -@import url(pageMinichat.css); -@import url(pageProfileRegister.css); - -* { - padding: 0; - margin: 0; -} - -body { - font-family: sans-serif; - font-size: 10pt; - color: #000000; - text-align: center; /* uniquement pour IE */ - background-color: #837fb7; -} - -#container { - position: relative; - background-image: url(../../img/css3/logo.png); - background-repeat: repeat-x; - background-color: #b1b0d4; - width: 626px; - height: auto; - margin-left: auto; - margin-right: auto; -} - -#menu { - z-index: 10; - left: 503px; - top: 5px; - position: absolute; - font-size: 7pt; - text-align: left; -} - -#menu div { - cursor: pointer; -} -#menu div.courante { - background-color: #e6e770 -} -#menu div:hover, -#menuCss div:hover { - background-color: #e6e770 -} - -#menuCss { - text-align: right; - z-index: 10; - position: absolute; - left: 570px; - top: 5px; -} - -#menuCss div { - cursor: pointer; - font-size: 6pt; -} - -#page { - position: relative; - padding: 130px 0px 3px 0px; - font-size: 8pt; -} - -#logo { display: none; } - -#footer { - padding-top: 5px; - text-align: center; - width: 625px; - height: 27px; - background-image: url(../../img/css3/piedpage.png); - background-repeat: no-repeat; -} -#footer a img{ - border-style: none; -} - -#info { - width:100%; - position: fixed; - left: 0px; - top: 0px; - background-color: #d5d3ef; - border-bottom: 1px solid #837fb7; - z-index: 20; -} - -#info .fermer { - float:right; - cursor: pointer; - height:16px; - width: 16px; - background-image: url(../../img/fermer.gif) -} - -#info #icone { - float:left; - height:16px; - width: 16px; -} -#info #icone.interrogation { - background-image: url(../../img/interrogation.gif) -} -#info #icone.information { - background-image: url(../../img/information.gif) -} -#info #icone.exclamation { - background-image: url(../../img/exclamation.gif) -} - -#info .boutons { - padding: 1px; - margin-bottom: 2px; -} - -#info .boutons div { - cursor: pointer; - background-color: #b1b0d4; - display: inline; - padding: 0px 5px 0px 5px; - margin: 0px 5px 0px 5px; - border: 1px solid #837fb7; -} -#info .boutons div:hover { - background-color: #d5d3ef; -} - -.captcha { - display:none -} - -/* Obsolète -#captcha { - margin-bottom: 5px; -} -#captcha input { - margin-left: 5px; -} -#captcha .captchaImg { - background-color: #FFFFFF; - vertical-align: bottom; -}*/ - -form input, -form button { - background-color: #d5d3ef; - border: #837fb7 1px solid; - color: #000000; - font-size: 9pt; -} - -a { - text-decoration: underline; -} -a:link { - color: #1f15e8; -} -a:visited { - color: #1f15e8; -} -a:hover { - color: #645fd4; -} -a:active { - color: #645fd4; -} - diff --git a/styles/3/img/logo.gif b/styles/3/img/logo.gif deleted file mode 100755 index 92f49bd..0000000 Binary files a/styles/3/img/logo.gif and /dev/null differ diff --git a/styles/3/img/logo.png b/styles/3/img/logo.png deleted file mode 100755 index dc6bd85..0000000 Binary files a/styles/3/img/logo.png and /dev/null differ diff --git a/styles/3/img/piedpage.png b/styles/3/img/piedpage.png deleted file mode 100755 index 095fdb7..0000000 Binary files a/styles/3/img/piedpage.png and /dev/null differ diff --git a/styles/3/pageMinichat.css b/styles/3/pageMinichat.css deleted file mode 100755 index d8f8706..0000000 --- a/styles/3/pageMinichat.css +++ /dev/null @@ -1,155 +0,0 @@ - -#page.minichat img { - vertical-align: bottom; - margin-right: 1px; - margin-left: 1px; -} - -#page.minichat #smiles { - position: absolute; - top: 90px; - left: 104px; - margin-bottom: 10px; - padding: 1px; -} - -#page.minichat #smiles img { - margin-left: 9px; - cursor: pointer; - opacity: 0.5; -} - -#page.minichat form { - text-align: left; - margin-bottom: 15px; - padding-left: 10px; -} - -#page.minichat form .pseudo { - margin-right: 5px; -} - -#page.minichat form .message { - margin-right: 5px; -} - -#page.minichat form .return { - height: 15px; - width: 32px; - background-image: url(../../img/css1/return.png); - background-repeat: no-repeat; - background-position: 5px 2px; - vertical-align: top; -} - -#page.minichat #messages div.message { - border-left-width: 5px; - border-left-style: solid; - border-color: transparent; - text-align: left; - padding-right: 8px; - padding-left: 4px; - cursor: pointer; -} - -#page.minichat #messages div.messageImpair { - background-color: #9f9cd2; -} - -#page.minichat #messages div.messagePair { - background-color: #b2afd5; -} - -/* Il n'y a plus de mise en evidence -#page.minichat #messages div.miseEnEvidenceReponse { - background-color: #bd7a11; -} -#page.minichat #messages div.miseEnEvidenceCourant { - background-color: #bd1129; -} -#page.minichat #messages div.miseEnEvidenceConversation { - background-color: #b711bd; -}*/ - -#page.minichat #messages div.cache { - opacity: 0.3; - - /* Hack IE 7 */ - filter: alpha(opacity = 30); - zoom: 1 -} - -#page.minichat #messages div.reponse { - border-color: #bd7a11 -} -#page.minichat #messages div.repondu { - border-color: #b711bd -} -#page.minichat #messages div.proprietaire { - border-color: #bd1129 -} -#page.minichat #messages div.systeme { - background-color: #888888 -} - -#page.minichat div.message a { - font-weight: bold; -} - -#page.minichat .date { - display: inline; - color: #8a4106; - margin-right: 3px; - margin-left: 3px; -} - -#page.minichat div.message .pseudo, -#page.minichat form .pseudo { - display: inline; - margin-left: 4px; - margin-right: 2px; - font-weight: bold; - color: #8f4108; -} - -#page.minichat div.systeme .pseudo { - color: #CCCCCC -} - -/* Ca marche pas :( -#page.minichat div.message .pseudo { - min-width: 50px; - height:100px; -}*/ - -#page.minichat #messages .repondA { - display: inline; - margin-left: 4px; - color: #704605 -} - -#page.minichat #messages .contenu { - display: inline; -} - -#page.minichat #pages { - margin-top: 5px; -} - -#page.minichat #pages span { - padding-right : 5px; - padding-left: 5px; - color: #1f15e8; - cursor:pointer; -} - -#page.minichat #pages span.pageCourante { - font-weight: bold; - font-size: 150%; -} - -#page.minichat #pages span:hover { - font-size: 150%; - color: #645fd4; -} - diff --git a/styles/3/pageProfileRegister.css b/styles/3/pageProfileRegister.css deleted file mode 100755 index 50be113..0000000 --- a/styles/3/pageProfileRegister.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Réunit les page Profile et Register car ils ont beaucoup en commun */ - -#page.register, -#page.profile { - text-align: left; - padding-left: 10px; - padding-bottom: 10px; -}