function imce_thumb_form in IMCE 6.2
Same name and namespace in other branches
- 6 inc/page.inc \imce_thumb_form()
- 7 inc/imce.page.inc \imce_thumb_form()
Thumbnail form.
1 call to imce_thumb_form()
- imce_fileop_form in inc/
imce.page.inc - File operations form.
File
- inc/
imce.page.inc, line 190 - Implements the file browser.
Code
function imce_thumb_form(&$imce) {
$form['thumbnails'] = array(
'#type' => 'checkboxes',
'#title' => t('Thumbnails'),
'#options' => imce_thumbnail_options($imce['thumbnails']),
);
$form['thumb'] = array(
'#type' => 'submit',
'#value' => t('Create thumbnails'),
'#submit' => $imce['perm']['thumb'] ? array(
'imce_thumb_submit',
) : NULL,
);
return $form;
}