"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/action/usergroups.php" between
wacko.6.1.18.zip and wacko.6.1.19.zip

About: WackoWiki is a multilingual Wiki-engine that supports WYTIWYG-editing, page rights (ACLs), design themes (skins), file upload, email notification and much more.

usergroups.php  (wacko.6.1.18):usergroups.php  (wacko.6.1.19)
skipping to change at line 63 skipping to change at line 63
{ {
sort($group_members); sort($group_members);
if ($i == $cols + 1) if ($i == $cols + 1)
{ {
$tpl->next = true; $tpl->next = true;
$i = 1; $i = 1;
} }
/* /*
If they are an Admin show them all users in all groups If they are an Admin show them all users in all groups
Else they are a normal logged in user so just show them groups they belong to else they are a normal logged-in user so just show them groups they belong to.
*/ */
if ($this->is_admin() || in_array($user['user_id'], $grou p_members)) if ($this->is_admin() || in_array($user['user_id'], $grou p_members))
{ {
$tpl->group = $this->group_link($group_name, true, false); $tpl->group = $this->group_link($group_name, true, false);
foreach ($group_members as $k => $user_name) foreach ($group_members as $k => $user_name)
{ {
$tpl->n_member = $this->user_link($user_n ame, true, false); $tpl->n_member = $this->user_link($user_n ame, true, false);
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)