tra('Limited Group Edit'), 'documentation' => 'PluginGroupEdit', 'description' => tra('Display a list of the groups for users that have the edit limited group permission to edit the group information.'), 'prefs' => ['wikiplugin_groupedit'], 'iconname' => 'groupedit', 'introduced' => 1, 'params' => [ ], ]; } function wikiplugin_groupedit($data, $params) { $smarty = TikiLib::lib('smarty'); $userlib = TikiLib::lib('user'); $template = 'tiki-edit_groups.tpl'; $groups = $userlib->get_groups(); $smarty->assign('groups', $groups["data"]); $smarty->assign('uri', $_SERVER['REQUEST_URI']); $ret = $smarty->fetch($template); return '~np~' . $ret . '~/np~'; }