mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Fixes related to presets and MDL-6755.
The original code was shocking once I started reviewing it, and even after heavy editing I'm still not happy with it, but at least it works more like it was supposed to. Needs more cleaning up to make it clearer and probably safer. Also, presets can now contain langage packs and they'll be used. The image gallery is an example.
This commit is contained in:
parent
44abaca047
commit
8303eb8447
9 changed files with 510 additions and 416 deletions
|
@ -78,7 +78,8 @@
|
|||
$bodytag .= '" ';
|
||||
|
||||
print_header_simple($data->name, '', "<a href='index.php?id=$course->id'>$strdata</a> -> $data->name",
|
||||
'', '', true, '', navmenu($course, $cm), '', $bodytag);
|
||||
'', '', true, update_module_button($cm->id, $course->id, get_string('modulename', 'data')),
|
||||
navmenu($course, $cm), '', $bodytag);
|
||||
|
||||
print_heading(format_string($data->name));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue