| 1 |
<?php |
<?php |
| 2 |
// $Id$ |
// $Id: groups.module,v 1.35 2004/10/01 00:08:33 uwe Exp $ |
| 3 |
|
|
| 4 |
function groups_help($section) { |
function groups_help($section) { |
| 5 |
switch ($section) { |
switch ($section) { |
| 6 |
case 'admin/system/modules/groups/version': |
case 'admin/system/modules/groups/version': |
| 7 |
return '$Id: groups.module,v 1.34 2004/07/06 17:29:46 dries Exp $'; |
return '$Id: groups.module,v 1.35 2004/10/01 00:08:33 uwe Exp $'; |
| 8 |
case 'admin/system/modules#description': |
case 'admin/system/modules#description': |
| 9 |
return t('Enables the organization of users into user groups.'); |
return t('Enables the organization of users into user groups.'); |
| 10 |
case 'admin/user/permission': |
case 'admin/user/permission': |
| 139 |
if ($arg = arg(1)) { |
if ($arg = arg(1)) { |
| 140 |
$arguments = explode('/', $_GET["q"]); |
$arguments = explode('/', $_GET["q"]); |
| 141 |
array_shift($arguments); |
array_shift($arguments); |
| 142 |
$taxonomy->str_tids = check_query(array_pop($arguments)); |
$taxonomy->str_tids = db_escape_string(array_pop($arguments)); |
| 143 |
$arr = groups_render_users(groups_select_users($taxonomy)); |
$arr = groups_render_users(groups_select_users($taxonomy)); |
| 144 |
print theme('page',$arr[0], $arr[1]); |
print theme('page',$arr[0], $arr[1]); |
| 145 |
} |
} |