Revision 1440
Added by Luisehahne over 14 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.2 ------------------------------------- |
| 14 |
17 Mae-2011 Build 1439 Werner v.d.Decken(DarkViper) |
|
| 14 |
26 Mar-2011 Build 1440 Dietmar Woellbrink (Luisehahne) |
|
| 15 |
# add missing methode is_group_match in class.wb.php |
|
| 16 |
17 Mar-2011 Build 1439 Werner v.d.Decken(DarkViper) |
|
| 15 | 17 |
! syncronice version (no data changes) |
| 16 |
17 Mae-2011 Build 1438 Werner v.d.Decken(DarkViper)
|
|
| 18 |
17 Mar-2011 Build 1438 Werner v.d.Decken(DarkViper)
|
|
| 17 | 19 |
# little fixes for xhtml-validity in '/include/captcha/captcha.php' |
| 18 |
17 Mae-2011 Build 1437 Werner v.d.Decken(DarkViper)
|
|
| 20 |
17 Mar-2011 Build 1437 Werner v.d.Decken(DarkViper)
|
|
| 19 | 21 |
# little fixes for xhtml-validity module 'form' |
| 20 |
17 Mae-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
|
|
| 22 |
17 Mar-2011 Build 1436 Dietmar Woellbrink (Luisehahne)
|
|
| 21 | 23 |
! update jquery to Version 1.5.1 and jQuery UI to Version 1.8.10 |
| 22 |
17 Mae-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
|
|
| 24 |
17 Mar-2011 Build 1435 Dietmar Woellbrink (Luisehahne)
|
|
| 23 | 25 |
# fix entities converting in select languages (Tks to the community) |
| 24 | 26 |
# see http://www.websitebaker2.org/forum/index.php/topic,20547.msg140512.html#msg140512 |
| 25 |
13 Mae-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
|
|
| 27 |
13 Mar-2011 Build 1433 Dietmar Woellbrink (Luisehahne)
|
|
| 26 | 28 |
# fixed bug : Call to undefined method wb::preprocess() |
| 27 | 29 |
14 Feb-2011 Build 1432 Dietmar Woellbrink (Luisehahne) |
| 28 | 30 |
# update NL language file (Tks to Argos) |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 52 | 52 |
|
| 53 | 53 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 54 | 54 |
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1439');
|
|
| 55 |
if(!defined('REVISION')) define('REVISION', '1440');
|
|
| 56 | 56 |
|
| 57 | 57 |
?> |
| branches/2.8.x/wb/framework/class.wb.php | ||
|---|---|---|
| 40 | 40 |
} |
| 41 | 41 |
|
| 42 | 42 |
/* **************** |
| 43 |
* check if one or more group_ids are in both group_lists |
|
| 44 |
* |
|
| 45 |
* @access public |
|
| 46 |
* @param mixed $groups_list1: an array or a coma seperated list of group-ids |
|
| 47 |
* @param mixed $groups_list2: an array or a coma seperated list of group-ids |
|
| 48 |
* @param array &$matches: an array-var whitch will return possible matches |
|
| 49 |
* @return bool: true there is a match, otherwise false |
|
| 50 |
*/ |
|
| 51 |
function is_group_match( $groups_list1 = '', $groups_list2 = '', &$matches = null ) |
|
| 52 |
{
|
|
| 53 |
if( $groups_list1 == '' ) { return false; }
|
|
| 54 |
if( $groups_list2 == '' ) { return false; }
|
|
| 55 |
if( !is_array($groups_list1) ) |
|
| 56 |
{
|
|
| 57 |
$groups_list1 = explode(',', $groups_list1);
|
|
| 58 |
} |
|
| 59 |
if( !is_array($groups_list2) ) |
|
| 60 |
{
|
|
| 61 |
$groups_list2 = explode(',', $groups_list2);
|
|
| 62 |
} |
|
| 63 |
$matches = array_intersect( $groups_list1, $groups_list2); |
|
| 64 |
return ( sizeof($matches) != 0 ); |
|
| 65 |
} |
|
| 66 |
/* **************** |
|
| 43 | 67 |
* check if current user is member of at least one of given groups |
| 44 | 68 |
* ADMIN (uid=1) always is treated like a member of any groups |
| 45 | 69 |
* |
Also available in: Unified diff
add missing methode is_group_match in class.wb.php