function imce_thumb_form in IMCE 6
Same name and namespace in other branches
- 6.2 inc/imce.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/
page.inc - File operations form.
File
- inc/
page.inc, line 170
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;
}