X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=js%2FpageAbout.js;h=7da55a2eaaa5217ce450902f92cb754f3c39b220;hb=d6dcd0fd8af56bd4791aa4e621c2e5058033c37a;hp=d51557c5316b4a16c91d23a0de50a318f3efe43f;hpb=217c4d7a0d5f9fee3a8ef0a05ab8506c7f39d5e5;p=euphorik.git
diff --git a/js/pageAbout.js b/js/pageAbout.js
index d51557c..7da55a2 100644
--- a/js/pageAbout.js
+++ b/js/pageAbout.js
@@ -16,18 +16,17 @@
// You should have received a copy of the GNU General Public License
// along with Euphorik. If not, see .
-euphorik.PageAbout = function(client, formateur, util) {
+euphorik.PageAbout = function(client, formater, util, communication) {
this.nom = "about";
this.client = client;
- this.formateur = formateur;
- this.util = util;
+ this.formater = formater;
+ this.util = util;
+ this.communication = communication;
};
euphorik.PageAbout.prototype.contenu = function() {
- var contenu = "";
- $.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page; }});
-
+ var contenu = this.communication.load("pages/about.html");
var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz");
return contenu.replace("{EMAIL}", "" + email + "").replace("{EMAIL_LIEN}", email);
};