[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 28 Jun 2006 20:15:39 -0000
albertel Wed Jun 28 16:15:39 2006 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
-pod2html no longer throws errors
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.404 loncom/interface/loncommon.pm:1.405
--- loncom/interface/loncommon.pm:1.404 Tue Jun 27 13:50:37 2006
+++ loncom/interface/loncommon.pm Wed Jun 28 16:15:37 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.404 2006/06/27 17:50:37 albertel Exp $
+# $Id: loncommon.pm,v 1.405 2006/06/28 20:15:37 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2796,7 +2796,6 @@
=item * $no_inline_link, if true and in remote mode, don't show the
'Switch To Inline Menu' link
-
=back
Returns: A uniform header for LON-CAPA web pages.
@@ -3606,6 +3605,7 @@
Inputs: $title - optional title for the page
$head_extra - optional extra HTML to put inside the <head>
+
=back
=cut
@@ -3719,7 +3719,6 @@
a html attribute
frameset -> if true will start with a <frameset>
rather than <body>
-=back
=cut
@@ -3844,9 +3843,7 @@
=pod
-=over 4
-
-=item get_users_function
+=item * &get_users_function()
Used by &bodytag to determine the current users primary role.
Returns either 'student','coordinator','admin', or 'author'.
@@ -3873,7 +3870,7 @@
=pod
-=item check_user_status
+=item * &check_user_status
Determines current status of supplied role for a
specific user. Roles can be active, previous or future.
@@ -3927,7 +3924,7 @@
=pod
-=item get_sections
+=item * &get_sections()
Determines all the sections for a course including
sections with students and sections containing other roles.
@@ -3988,9 +3985,9 @@
###############################################
=pod
-
-=item get_course_users
-
+
+=item * &get_course_users()
+
Retrieves usernames:domains for users in the specified course
with specific role(s), and access status.
@@ -4013,9 +4010,9 @@
of the possibility of multiple values for non-student roles.
=cut
-
+
###############################################
-
+
sub get_course_users {
my ($cdom,$cnum,$types,$roles,$sections,$users,$userdata) = @_;
my %idx = ();