// You should have received a copy of the GNU General Public License\r
// along with Euphorik. If not, see <http://www.gnu.org/licenses/>.
-function PageAbout(client, formateur, util)
-{
- this.nom = "about"
+euphorik.PageAbout = function(client, formateur, util) {
+ this.nom = "about";
- this.client = client
- this.formateur = formateur
- this.util = util
-}
+ 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 }})
+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}", "<a href=\"" + email+ "\">" + email + "</a>").replace("{EMAIL_LIEN}", email)
-}
+ var email = this.util.rot13("znvygb:tert.oheev@tznvy.pbz");
+ return contenu.replace("{EMAIL}", "<a href=\"" + email+ "\">" + email + "</a>").replace("{EMAIL_LIEN}", email);
+};
-PageAbout.prototype.charger = function()
-{
-}
+euphorik.PageAbout.prototype.charger = function() {
+};