New: Language Switch plugin support

git-svn-id: http://piwigo.org/svn/trunk@2161 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
vdigital
2007-11-18 19:59:33 +00:00
parent ee4fbd7cec
commit 51e3d211c8
13 changed files with 150 additions and 0 deletions
+8
View File
@@ -1151,6 +1151,14 @@ function check_status($access_type, $user_status = '')
return get_user_status($user_status) == 'guest';
}
/*
* Return if user is generic
* @return bool
*/
function is_generic($user_status = '')
{
return get_user_status($user_status) == 'generic';
}
/*
* Return if user is, at least, a classic user
* @return bool