Up to [LON-CAPA] / loncom / interface
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Current tag: version_2_6_X
Backport 1.70
- backport 1.68, 1.69
- hide type selector
Bug 5422 More comprehensive listing of LON-CAPA users. Available to Domain Coordinators, Authors and Course Coordinators. Lists displayable in HTML, CSV or Excel formats. - filter by status and role. - DCs can specify a subset of courses for display of course roles. lonuserutils.pm - Elimination of &domain_form() -- generates linked selectboxes for domain and server selection -- no longer required (as new users can now only be created in the domain of the user's current role). - Added &domain_roles_select() - used for linked role type and role selection boxes for DC, when displaying user roles. - Display of active advanced roles when viewing course classlist eliminated - replaced with selectable advanced roles in role filter for user lists. loncommon.pm - &linked_select_forms() can take an additional argument ($menuorder) which specifies order of items in the first select box. - %menuhash can include hash key,value pair: order = reference to array (order of contents of the second select box) as optional item. - get_course_users() has new optional arg (statushash) to return information about status (Expired, Active or Future) for each section for user's roles. - studentID information now included in optional hash of user information for course users. lonhtmlcommon.pm - &course_selection() routine split from &course_select_row() to allow reuse when selecting course filter for DC's listing of user roles. loncoursedata.pm - Three subroutines added to return indices for permanentemail, role and extent, so user listings in lonuserutils:;show_user_lists() can sort by these using the existing sorting code. loncreateuser.pm - display of user lists included in menu on first page. - some wording changes (as per bug 5506) - switches on $env{'form.state'} for call to &print_userlist() eliminated (not needed). - course selector included when in DC context lonpickcourse.pm - domain selector defaults to domain of user's role when course selector used for studentform. Work in progress - role expiration and section switching still to be added to interface.