| [ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
This file is the Geeklog Group administration page
| Author: | Tony Bibbs <tony@tonybibbs.com> |
| Poids: | 986 lignes (42 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 2 fichiers public_html/admin/auth.inc.php public_html/lib-common.php |
| editgroup($grp_id = '') X-Ref |
| Shows the group editor form param: string $grp_id ID of group to edit return: string HTML for group editor |
| getIndirectFeatures($grp_id) X-Ref |
| Get the indirect features for a group, i.e. a list of all the features that this group inherited from other groups. param: int $grp_id ID of group return: string comma-separated list of feature names |
| printrights($grp_id = '', $core = 0) X-Ref |
| Prints the features a group has access. Please follow the comments in the code closely if you need to modify this function. Also right is synonymous with feature. param: mixed $grp_id ID to print rights for param: boolean $core indicates if group is a core Geeklog group return: string HTML for rights |
| savegroup($grp_id, $grp_name, $grp_descr, $grp_admin, $grp_gl_core, $features, $groups) X-Ref |
| Save a group to the database param: string $grp_id ID of group to save param: string $grp_name Group Name param: string $grp_descr Description of group param: boolean $grp_admin Flag that indicates this is an admin use group param: boolean $grp_gl_core Flag that indicates if this is a core Geeklog group param: array $features Features the group has access to param: array $groups Groups this group will belong to return: string HTML refresh or error message |
| getGroupList($basegroup) X-Ref |
| Get a list (actually an array) of all groups this group belongs to. param: basegroup int id of group return: array array of all groups 'basegroup' belongs to |
| listusers($grp_id) X-Ref |
| Display a list of all users in a given group. param: grp_id int group id return: string HTML for user listing |
| listgroups() X-Ref |
| Pas de description |
| grp_selectUsers($group_id, $allusers = false) X-Ref |
| Pas de description |
| editusers($group) X-Ref |
| Pas de description |
| savegroupusers($groupid, $groupmembers) X-Ref |
| Pas de description |
| deleteGroup($grp_id) X-Ref |
| Delete a group param: int $grp_id id of group to delete return: string HTML redirect |
| Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
|