X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2FpageAbout.js;h=d51557c5316b4a16c91d23a0de50a318f3efe43f;hp=4ed1bd0ea81f1f1b0fb8b1e79c28c43096201388;hb=217c4d7a0d5f9fee3a8ef0a05ab8506c7f39d5e5;hpb=ab7df84e7918ce2f4ab10d5498f2cf6483188b84 diff --git a/js/pageAbout.js b/js/pageAbout.js index 4ed1bd0..d51557c 100644 --- a/js/pageAbout.js +++ b/js/pageAbout.js @@ -14,26 +14,23 @@ // 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 . - -function PageAbout(client, formateur, util) -{ - this.nom = "about" - - this.client = client - this.formateur = formateur - this.util = util -} - -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) -} - -PageAbout.prototype.charger = function() -{ -} +// 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() { +};