From ceb77253c30a0d0fb37d883685f0501d588caf78 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 15 Feb 2007 03:03:16 +0000 Subject: - plugins: added new action user_init - put in a new admin_multi_view:allows admins to change on the fly language/theme and view gallery as guest (useful for developers and just to show a 'new' way of using plugins) - removed some warnings from history.php and increased table width to 99% - remove unused admin language strings git-svn-id: http://piwigo.org/svn/trunk@1821 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/user.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/user.inc.php') diff --git a/include/user.inc.php b/include/user.inc.php index b67d6e3e4..001a2a267 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -74,4 +74,5 @@ $user = build_user( $user['id'], ( defined('IN_ADMIN') and IN_ADMIN ) ? false : true // use cache ? ); +trigger_action('user_init', $user); ?> \ No newline at end of file -- cgit v1.2.3