hello world !
[mw_hello] / mw_hello.php
index 16580a4..dc385c3 100644 (file)
@@ -7,26 +7,11 @@
     }
 
     function description(){
-      return "Un plugin qui affiche une page Hello World ! avec une citation alĂ©atoire";
-    }
-
-    function install($env){
-      return true;
-    }
-
-    function uninstall($env){
-      return true;
-    }
-
-    function enable($env){
-      return true;
-    }
-
-    function disable($env){
-      return true;
+      return "Un plugin qui affiche une page Hello World !";
     }
 
     function init($env){
+      $env->set_link("menu_top/hello", $env->url("hello"), "Hello");
       return true;
     }