Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9f07c4
)
MDL-25436 workshop: fixed deprecated function call
author
David Mudrak
<david.mudrak@gmail.com>
Mon, 29 Nov 2010 12:23:42 +0000
(12:23 +0000)
committer
David Mudrak
<david.mudrak@gmail.com>
Mon, 29 Nov 2010 12:23:42 +0000
(12:23 +0000)
Credit goes to Paul Ortman for the patch.
mod/workshop/index.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/workshop/index.php
b/mod/workshop/index.php
index
2392cef
..
36c21f8
100644
(file)
--- a/
mod/workshop/index.php
+++ b/
mod/workshop/index.php
@@
-71,6
+71,7
@@
$timenow = time();
$strsectionname = get_string('sectionname', 'format_'.$course->format);
$strname = get_string('name');
+$table = new html_table();
if ($usesections) {
$table->head = array ($strsectionname, $strname);
$table->align = array ('center', 'left');
@@
-96,7
+97,7
@@
foreach ($workshops as $workshop) {
}
echo $OUTPUT->heading(get_string('modulenameplural', 'workshop'), 2);
-
print_
table($table);
+
echo html_writer::
table($table);
/// Finish the page