Merge branch 'wip-MDL-39040-master' of git://github.com/abgreeve/moodle
This commit is contained in:
@@ -252,6 +252,8 @@ echo $OUTPUT->header();
|
||||
groups_print_activity_menu($cm, $CFG->wwwroot.'/mod/data/edit.php?d='.$data->id);
|
||||
echo $OUTPUT->heading(format_string($data->name));
|
||||
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
/// Print the tabs
|
||||
|
||||
$currenttab = 'add';
|
||||
|
||||
@@ -87,6 +87,7 @@ if($mform->is_cancelled()) {
|
||||
$url = new moodle_url('/mod/data/export.php', array('d' => $d));
|
||||
groups_print_activity_menu($cm, $url);
|
||||
echo $OUTPUT->heading(format_string($data->name));
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
// these are for the tab display
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
|
||||
@@ -1976,6 +1976,8 @@ function data_print_header($course, $cm, $data, $currenttab='') {
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
$groupmode = groups_get_activity_groupmode($cm);
|
||||
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
// Print the tabs
|
||||
|
||||
if ($currenttab) {
|
||||
|
||||
@@ -103,6 +103,8 @@ if (!$form_export->is_submitted()) {
|
||||
$currenttab = 'presets';
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
$groupmode = groups_get_activity_groupmode($cm);
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
include('tabs.php');
|
||||
}
|
||||
|
||||
|
||||
@@ -99,6 +99,8 @@ echo $OUTPUT->heading(format_string($data->name));
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
$groupmode = groups_get_activity_groupmode($cm);
|
||||
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
/// Print the tabs.
|
||||
$currenttab = 'templates';
|
||||
include('tabs.php');
|
||||
|
||||
+1
-1
@@ -355,8 +355,8 @@
|
||||
if ($data->intro and empty($page) and empty($record) and $mode != 'single') {
|
||||
$options = new stdClass();
|
||||
$options->noclean = true;
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
}
|
||||
echo $OUTPUT->box(format_module_intro('data', $data, $cm->id), 'generalbox', 'intro');
|
||||
|
||||
/// Delete any requested records
|
||||
|
||||
|
||||
Reference in New Issue
Block a user