source: trunk/plugins/admin_multi_view/main.inc.php @ 1860

Last change on this file since 1860 was 1852, checked in by rvelices, 17 years ago

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)
  • Property svn:eol-style set to native
File size: 487 bytes
Line 
1<?php /*
2Plugin Name: Multi view
3Version: 1.0
4Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ...
5Plugin URI: http://www.phpwebgallery.net
6Author: PhpWebGallery team
7Author URI: http://www.phpwebgallery.net
8*/
9
10add_event_handler('user_init', 'multiview_user_init' );
11
12function multiview_user_init()
13{
14  if (!is_admin())
15    return;
16  include_once( dirname(__FILE__).'/is_admin.inc.php' );
17}
18
19?>
Note: See TracBrowser for help on using the repository browser.