mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00

gmdate to format times, thus allowing it to take advantage of locale, if set, to print dates in the appropriate language. Several userdate invocations had to be changed, though, to use the different formatting specs.
22 lines
327 B
PHP
22 lines
327 B
PHP
<?PHP // $Id$
|
|
|
|
require("../config.php");
|
|
require("lib.php");
|
|
|
|
$title = get_string("courses");
|
|
|
|
print_header($title, $title, $title, "");
|
|
|
|
optional_variable($cat, 1);
|
|
|
|
echo "<TABLE WIDTH=80% ALIGN=CENTER><TR><TD>";
|
|
|
|
print_all_courses($cat);
|
|
|
|
echo "</TD></TR></TABLE>";
|
|
|
|
print_footer();
|
|
|
|
?>
|
|
|
|
|