function imce_form_subfolder_form in IMCE 5
return sub folder creation form
1 string reference to 'imce_form_subfolder_form'
- imce_form_subfolder in ./
imce.module - get sbfolder creation form
File
- ./
imce.module, line 827
Code
function imce_form_subfolder_form() {
$form['help'] = array(
'#value' => t('<p>Here you can create sub-folders for your users. Multiple folder creation is possible at a time with the <strong>*</strong> character. For example, specifying <strong>user*/foo</strong> will create <strong>foo</strong> named folders under each folder starting with <strong>user</strong>. */foo*/bar will create bar named folders under folders starting with foo in each folder of file system path.</p>'),
);
$form['path'] = array(
'#type' => 'textfield',
'#default_value' => $_POST['edit']['path'],
'#maxlength' => 255,
'#prefix' => '<div class="form-item"><label>' . t('Folder path') . ':</label><div class="container-inline">' . file_directory_path() . '/',
'#suffix' => '</div></div>',
);
$form['submit'] = array(
'#type' => 'submit',
'#value' => t('Create'),
);
return $form;
}