projects
/
mw_hello
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mise a jour pour mtweb.0.6.0
[mw_hello]
/
mw_hello.php
1
<?php
2
3
class mw_hello extends mw_plugin{
4
5
function title(){
6
return "Hello World !";
7
}
8
9
function description(){
10
return "Un plugin qui affiche une page Hello World !";
11
}
12
13
function init($env){
14
$env->set_link("menu_top/hello", $env->url("hello"), "Hello");
15
return true;
16
}
17
18
}
19
20
?>