MOD replace 'formateur' by 'formater'
[euphorik.git] / js / euphorik.js
index c1253b9..4706eb8 100755 (executable)
@@ -25,8 +25,8 @@ var euphorik = {};
 $(document).ready(
    function() { 
       var fragment = new Fragment();
-      var formateur = new euphorik.Formateur();
-      var util = new euphorik.Util(formateur); 
+      var formateur = new euphorik.Formater();
+      var util = new euphorik.Util(formater); 
       var communication = new euphorik.Communication(
          function(data) { util.messageDialogue(data.error_message); },
          function() { util.showWaitBar(); },
@@ -64,11 +64,11 @@ $(document).ready(
       // TODO : simplifier et pouvoir créer des liens par exemple : <span class="lien" href="conditions">Conditions d'utilisation</span>
       $("#footer .conditions").click(function(){ pages.afficherPage("conditions_utilisation"); });
       
-      pages.ajouterPage(new euphorik.PageMinichat(client, formateur, util, communication), true);
-      pages.ajouterPage(new euphorik.PageAdmin(client, formateur, util, communication));
-      pages.ajouterPage(new euphorik.PageProfile(client, formateur, util));
-      pages.ajouterPage(new euphorik.PageRegister(client, formateur, util));
-      pages.ajouterPage(new euphorik.PageAbout(client, formateur, util, communication));
+      pages.ajouterPage(new euphorik.PageMinichat(client, formater, util, communication), true);
+      pages.ajouterPage(new euphorik.PageAdmin(client, formater, util, communication));
+      pages.ajouterPage(new euphorik.PageProfile(client, formater, util));
+      pages.ajouterPage(new euphorik.PageRegister(client, formater, util));
+      pages.ajouterPage(new euphorik.PageAbout(client, formater, util, communication));
       pages.ajouterPage("conditions_utilisation");
       
       pages.afficherPage();