Le principal
[euphorik.git] / js / pageAbout.js
1 // coding: utf-8
2
3 function PageAbout(client, formateur, util)
4 {
5 this.nom = "about"
6
7 this.client = client
8 this.formateur = formateur
9 this.util = util
10 }
11
12 PageAbout.prototype.contenu = function()
13 {
14 var contenu = ""
15 jQuery.ajax({async: false, url: "pages/about.html", success : function(page) { contenu += page }})
16 var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz")
17 return contenu.replace("{EMAIL}", "<a href=\"" + email+ "\">" + email + "</a>").replace("{EMAIL_LIEN}", email)
18 }
19
20 PageAbout.prototype.charger = function()
21 {
22 }