aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/hello_world/index.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-11-01 05:54:35 +0000
committerrvelices <rv-github@modusoptimus.com>2006-11-01 05:54:35 +0000
commitbce8b9f680af4eb5481441e52e1d82b11da722be (patch)
tree45b30f55abb3257bbc3a8592f8ab872468e41636 /plugins/hello_world/index.php
parent525c9bc40ab6a99c44292388ce4385574057da86 (diff)
plugins last modifications + events are triggered now from picture.php
git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/hello_world/index.php')
-rw-r--r--plugins/hello_world/index.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/hello_world/index.php b/plugins/hello_world/index.php
deleted file mode 100644
index d2a8bcddb..000000000
--- a/plugins/hello_world/index.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php /*
-Plugin Name: Hello World !
-Author: PhpWebGallery team
-Description: This example plugin changes the page banner for the administration page
-*/
-
-add_event_handler('page_banner', 'hello_world_banner' );
-
-function hello_world_banner($banner)
-{
- global $page;
- if ( isset($page['body_id']) and $page['body_id']=='theAdminPage')
- {
- return '<h1>Hello world from PhpWebGallery plugin!</h1>';
- }
- return $banner;
-}
-?>