name)) { $form->name = ''; } if (empty($form->intro)) { $form->intro = ''; } if ( empty($form->maxbytes) ) { $form->maxbytes = $CFG->maxbytes; } if ( empty($form->maxwidth) ) { $form->maxwidth = 300; } if ( empty($form->maxheight) ) { $form->maxheight = 300; } if ( empty($form->resize) ) { $form->resize = 0; } if ( empty($form->allowstudentupload) ) { $form->allowstudentupload = '0'; } if ( empty($form->imagesperpage) ) { $form->imagesperpage = 10; } if ( !isset($form->requirelogin) ) { $form->requirelogin = 1; } if ( empty($form->defaultcategory) ) { $form->defaultcategory = 0; } if ( empty($form->shadow) ) { $form->shadow = 0; } ?>
:
:

'; helpbutton('questions', get_string('helpquestions'), 'moodle', true, true); echo '
'; if ($usehtmleditor) { helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true); } else { emoticonhelpbutton('form', 'intro'); } echo '
'; ?>
intro, $course->id); ?>
: maxbytes); choose_from_menu ($choices, "maxbytes", $form->maxbytes, ""); helpbutton("courseuploadsize", get_string("maximumupload")); ?>
: maxwidth, "", "iGallery.change_dim_height(this.value, 'maxheight')"); ?> x maxheight, "", "iGallery.change_dim_width(this.value, 'maxwidth')"); helpbutton("maxdimensions", get_string("maxdimensions","imagegallery"), 'imagegallery'); ?>
: resize, ""); helpbutton("resizeimage", get_string("resizeimage","imagegallery"), 'imagegallery'); ?>
: imagesperpage, ""); ?>
: allowstudentupload, ""); ?>
: requirelogin, ""); helpbutton("requirelogin", get_string("requirelogin","imagegallery"), 'imagegallery'); ?>
: shadow, ""); helpbutton("dropshadow", get_string("usedropshadowinthumb","imagegallery"), 'imagegallery'); ?>

" />