plugins last modifications + events are triggered now from picture.php

git-svn-id: http://piwigo.org/svn/trunk@1590 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2006-11-01 05:54:35 +00:00
parent 525c9bc40a
commit bce8b9f680
14 changed files with 372 additions and 220 deletions
-18
View File
@@ -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;
}
?>