X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;ds=inline;f=js%2FpageAbout.js;h=d51557c5316b4a16c91d23a0de50a318f3efe43f;hb=23f92ff2329a69d57c1c3ea720074596465ee415;hp=64f9bd3fe7a4806ed51d0b46222d29cc3b284634;hpb=7e02cae82befa6d101d43d97fb8bd79dedba54a4;p=euphorik.git
diff --git a/js/pageAbout.js b/js/pageAbout.js
index 64f9bd3..d51557c 100644
--- a/js/pageAbout.js
+++ b/js/pageAbout.js
@@ -1,22 +1,36 @@
-// coding: utf-8
-
-function PageAbout(client, formateur, util)
-{
- this.nom = "about"
-
- this.client = client
- this.formateur = formateur
- this.util = util
-}
-
-PageAbout.prototype.contenu = function()
-{
- var contenu = ""
- jQuery.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page }})
- var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz")
- return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email)
-}
-
-PageAbout.prototype.charger = function()
-{
-}
+// 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,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// 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 .
+
+euphorik.PageAbout = function(client, formateur, util) {
+ this.nom = "about";
+
+ this.client = client;
+ this.formateur = formateur;
+ this.util = util;
+};
+
+euphorik.PageAbout.prototype.contenu = function() {
+ var contenu = "";
+ $.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page; }});
+
+ var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz");
+ return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email);
+};
+
+euphorik.PageAbout.prototype.charger = function() {
+};