Files
Piwigo/plugins/admin_multi_view/main.inc.php
rvelices cb2408a82c 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
2007-02-23 13:18:34 +00:00

20 lines
487 B
PHP

<?php /*
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' );
function multiview_user_init()
{
if (!is_admin())
return;
include_once( dirname(__FILE__).'/is_admin.inc.php' );
}
?>