aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-23 13:18:34 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-23 13:18:34 +0000
commitcb2408a82c9bc93bef177dc33a8981bc36800839 (patch)
tree85728267a379dd1b39ac089ab2021f000e6cb668 /plugins
parent6f03e29735ea395f31d09bbfd15a4e15eaf961e3 (diff)
Plugins:
- display author and and author url (if present) on plugin admin page - uniformized versions/authors... for all plugins in svn - security fix (html escape name, version, uri, author... to avoid javascript injection which could automatically simulate click on Install) - added confirmation for install/uninstall plugins Web services: - web service explorer now caches method details in order to avoid unnecessary web calls - web service explorer can now send parameters as arrays - web service explorer uses now prototype.js version 1.5 - small improvements - added and use function bad_request (sends http status code 400) git-svn-id: http://piwigo.org/svn/trunk@1852 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins')
-rw-r--r--plugins/add_index/main.inc.php7
-rw-r--r--plugins/admin_advices/main.inc.php7
-rw-r--r--plugins/admin_multi_view/main.inc.php2
-rw-r--r--plugins/event_tracer/main.inc.php5
-rw-r--r--plugins/hello_world/main.inc.php7
5 files changed, 18 insertions, 10 deletions
diff --git a/plugins/add_index/main.inc.php b/plugins/add_index/main.inc.php
index 07ade8e10..8d9989dbc 100644
--- a/plugins/add_index/main.inc.php
+++ b/plugins/add_index/main.inc.php
@@ -1,9 +1,10 @@
-<?php
-/*
+<?php /*
Plugin Name: Add Index
-Version: 1.1.0.0
+Version: 1.0
Description: Add file index.php file on all sub-directories of local galleries pictures. / Ajoute le fichier index.php sur les sous-répertoires de galeries d'images locales.
Plugin URI: http://www.phpwebgallery.net
+Author: PhpWebGallery team
+Author URI: http://www.phpwebgallery.net
*/
// +-----------------------------------------------------------------------+
// | PhpWebGallery - a PHP based picture gallery |
diff --git a/plugins/admin_advices/main.inc.php b/plugins/admin_advices/main.inc.php
index 821ed9563..6db9b358a 100644
--- a/plugins/admin_advices/main.inc.php
+++ b/plugins/admin_advices/main.inc.php
@@ -1,9 +1,10 @@
<?php /*
-Plugin Name: Admin Advices !
-Version: 1.0.0
-Author: PhpWebGallery team
+Plugin Name: Admin Advices
+Version: 1.0
Description: Give you an advice on the administration page.
Plugin URI: http://www.phpwebgallery.net
+Author: PhpWebGallery team
+Author URI: http://www.phpwebgallery.net
*/
add_event_handler('loc_end_page_header', 'set_admin_advice_add_css' );
diff --git a/plugins/admin_multi_view/main.inc.php b/plugins/admin_multi_view/main.inc.php
index f0ed7a74d..16f3e7410 100644
--- a/plugins/admin_multi_view/main.inc.php
+++ b/plugins/admin_multi_view/main.inc.php
@@ -3,6 +3,8 @@ Plugin Name: Multi view
Version: 1.0
Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ...
Plugin URI: http://www.phpwebgallery.net
+Author: PhpWebGallery team
+Author URI: http://www.phpwebgallery.net
*/
add_event_handler('user_init', 'multiview_user_init' );
diff --git a/plugins/event_tracer/main.inc.php b/plugins/event_tracer/main.inc.php
index 0976cae1c..d31708e9f 100644
--- a/plugins/event_tracer/main.inc.php
+++ b/plugins/event_tracer/main.inc.php
@@ -1,9 +1,10 @@
-<?php
-/*
+<?php /*
Plugin Name: Event tracer
Version: 1.0
Description: For developers. Shows all calls to trigger_event.
Plugin URI: http://www.phpwebgallery.net
+Author: PhpWebGallery team
+Author URI: http://www.phpwebgallery.net
*/
if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
diff --git a/plugins/hello_world/main.inc.php b/plugins/hello_world/main.inc.php
index eb5f98b82..5f6dd9134 100644
--- a/plugins/hello_world/main.inc.php
+++ b/plugins/hello_world/main.inc.php
@@ -1,7 +1,10 @@
<?php /*
-Plugin Name: Hello World !
-Author: PhpWebGallery team
+Plugin Name: Hello World
+Version: 1.0
Description: This example plugin changes the page banner for the administration page.
+Plugin URI: http://www.phpwebgallery.net
+Author: PhpWebGallery team
+Author URI: http://www.phpwebgallery.net
*/
add_event_handler('loc_begin_page_header', 'hello_world_begin_header' );