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

Last change on this file since 2243 was 2243, checked in by patdenice, 17 years ago

Corections to respect coding conventions.
Change plugins versions to 1.8
Change 3 plugins URI.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 487 bytes
Line 
1<?php /*
2Plugin Name: Multi view
3Version: 1.8
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.