data MDL-19806 Upgraded deprecated calls

This commit is contained in:
samhemelryk
2009-10-16 03:19:50 +00:00
parent d32229555f
commit 6d8363c40b
+1 -1
View File
@@ -279,7 +279,7 @@
// The code will be much nicer than this eventually.
$title = $course->shortname.': ' . format_string($data->name);
$buttons = '<table><tr><td>'.update_module_button($cm->id, $course->id, get_string('modulename', 'data')).'</td>';
$buttons = '<table><tr><td>'.$OUTPUT->update_module_button($cm->id, $cm->modname).'</td>';
if ($PAGE->user_allowed_editing() && !empty($CFG->showblocksonmodpages)) {
$buttons .= '<td><form '.$CFG->frametarget.' method="get" action="view.php"><div>'.
'<input type="hidden" name="id" value="'.$cm->id.'" />'.