and push it into
+ # @categories
+ # such that each element looks like:
+ #
+ # the category won't be added if there aren't any links
+ push @categories,
+ $div->($h3->(mt($$category{categorytitle}), {class=>"LC_hcell"}).
+ $ul->(join('' ,@links), {class =>"LC_ListStyleNormal" }),
+ {class=>"LC_Box LC_400Box"}) if scalar(@links);
}
- return $Str;
+ # wrap the joined @categories in another
(column layout)
+ return $div->(join('', @categories), {class => "LC_columnSection"});
}
-########################################################
-########################################################
+##############################################
+##############################################
=pod
-=item &FormatStudentInformation()
+=item &start_funclist
-This function produces a formatted string of the student\'s information:
-username, domain, section, full name, and PID.
+Start list of available functions
+Typically used to offer a simple list of available functions
+at top or bottom of page.
+All available functions/actions for the current page
+should be included in this list.
+
+If the optional headline text is not provided, a default text will be used.
+
+
+Related routines:
=over 4
+add_item_funclist
+end_funclist
+=back
-Input: $cache, $name, $keyID, $spacePadding
-$cache: This is a pointer to a hash that is tied to the cached data
+Inputs: (optional) headline text
-$name: The name and domain of the current student in name:domain format
+Returns: HTML code with function list start
-$keyID: A pointer to an array holding the names used to
+=cut
-remove data from the hash. They represent the name of the data to be removed.
+##############################################
+##############################################
-$spacePadding: Extra spaces that represent the space between columns
+sub start_funclist {
+ my($legendtext)=@_;
+ $legendtext=&mt('Functions') if !$legendtext;
+ return "
\n";
}
1;
+
__END__