diff --git a/course/group-edit.html b/course/group-edit.html
index 87a7db72342..2c3cd954e20 100644
--- a/course/group-edit.html
+++ b/course/group-edit.html
@@ -38,13 +38,15 @@
if (!empty($CFG->gdversion) and $maxbytes) {
?>
- | : |
+ : ( |
dirroot.'/lib/uploadlib.php');
upload_print_form_fragment(1,array('imagefile'),null,false,null,0,0,false);
- helpbutton("picture", get_string("helppicture"));
- print_string("maxsize", "", display_size($maxbytes));
if (isset($err["imagefile"])) formerr($err["imagefile"]);
?>
|
diff --git a/mod/glossary/edit.html b/mod/glossary/edit.html
index 8fe02ba4ee5..921696296ce 100644
--- a/mod/glossary/edit.html
+++ b/mod/glossary/edit.html
@@ -153,14 +153,20 @@ if (isset($errors)) {
- : () |
+ :
+ maxbytes, $course->maxbytes)));
+ echo ') ';
+ print_string("optional");
+ echo ' ';
+ helpbutton("attachment", get_string("attachment", "glossary"), "glossary");
+ ?>
+ |
dirroot.'/lib/uploadlib.php');
upload_print_form_fragment(1,array('attachment'),null,false,null,$course->maxbytes,0,false);
- helpbutton("attachment", get_string("attachment", "glossary"), "glossary");
- echo ' ';
- print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
?>
|
diff --git a/mod/glossary/import.html b/mod/glossary/import.html
index fc48aba57ba..bbd52020889 100644
--- a/mod/glossary/import.html
+++ b/mod/glossary/import.html
@@ -1,14 +1,18 @@