3 class HelloPlugin
extends VGPlugin
5 function __construct() {
7 if (isset($conf['hello'])) {
8 $this->register_action('hello');
9 $this->register_hook('pagenav');
13 function action($action) {
14 $this->display_plugin_template('hello');
17 function hook($type) {
18 if ($type == 'pagenav') {
20 $page['links']['hello'] = array('a' => 'hello');