mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Place information before controls on upload forms MDL-7491
This commit is contained in:
parent
2dbd640932
commit
d83d000ee3
4 changed files with 31 additions and 14 deletions
|
@ -38,13 +38,15 @@
|
|||
if (!empty($CFG->gdversion) and $maxbytes) {
|
||||
?>
|
||||
<tr valign="top">
|
||||
<td align="right"><?php print_string("newpicture") ?>:</td>
|
||||
<td align="right"><?php print_string("newpicture") ?>:<br />(<?php
|
||||
print_string("maxsize", "", display_size($maxbytes));
|
||||
echo ') ';
|
||||
helpbutton("picture", get_string("helppicture"));
|
||||
?></td>
|
||||
<td>
|
||||
<?php
|
||||
require_once($CFG->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"]);
|
||||
?>
|
||||
</td>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue