diff --git a/lib/weblib.php b/lib/weblib.php index 67a472b0a20..9ff09454a28 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3909,10 +3909,11 @@ function update_module_button($moduleid, $courseid, $string) { $string = get_string('updatethis', '', $string); return "
"; + ""; } else { return ''; } @@ -4847,7 +4848,7 @@ function notice_yesno ($message, $linkyes, $linkno, $optionsyes=NULL, $optionsno $linkno = clean_text($linkno); print_simple_box_start('center', '60%', '', 5, 'generalbox', 'notice'); - echo ''. $message .'
'; + echo ''. $message .'
'; echo '| '; print_single_button($linkyes, $optionsyes, get_string('yes'), $methodyes, $CFG->framename); echo ' | ';
diff --git a/mod/data/edit.php b/mod/data/edit.php
index a1818cfd5ca..e89569c7a54 100755
--- a/mod/data/edit.php
+++ b/mod/data/edit.php
@@ -307,7 +307,7 @@
print_heading(get_string('uploadrecords', 'data'), '', 3);
$maxuploadsize = get_max_upload_file_size();
- echo ' ';
+ echo ' ';
echo ' ';
print_simple_box_end();
} else {
- echo '';
+ echo ' ';
echo ''.get_string('uploadrecords', 'data').'';
echo ' ';
}
diff --git a/mod/data/templates.php b/mod/data/templates.php
index 86d846dce5d..aa099a2bcc1 100755
--- a/mod/data/templates.php
+++ b/mod/data/templates.php
@@ -156,7 +156,7 @@
add_to_log($course->id, 'data', 'templates saved', "templates.php?id=$cm->id&d=$data->id", $data->id, $cm->id);
}
} else {
- echo ''.get_string('header'.$mode,'data').' ';
+ echo ''.get_string('header'.$mode,'data').' ';
}
/// If everything is empty then generate some defaults
@@ -170,6 +170,7 @@
echo ' |