function cmis_browser_browse_form in CMIS API 7.2
Same name and namespace in other branches
- 6.4 cmis_browser/cmis_browser.module \cmis_browser_browse_form()
- 6 cmis_browser/cmis_browser.module \cmis_browser_browse_form()
- 6.2 cmis_browser/cmis_browser.module \cmis_browser_browse_form()
- 6.3 cmis_browser/cmis_browser.module \cmis_browser_browse_form()
- 7 cmis_browser/cmis_browser.module \cmis_browser_browse_form()
Implementation of hook_form().
1 string reference to 'cmis_browser_browse_form'
- theme_cmis_browser in cmis_browser/
cmis_browser.theme.inc
File
- cmis_browser/
cmis_browser.module, line 132
Code
function cmis_browser_browse_form($form, &$form_state) {
$parts = explode('/', $_GET['q']);
$path = implode('/', array_slice($parts, 2));
//TODO: Removing autocomplete as a buggy (and not-so-useful) feature. Need to replace with search.
/*
$form['path'] = array(
'#type' => 'textfield',
'#title' => t('Path'),
'#default_value' => '/'. $path,
'#autocomplete_path' => 'cmis/autocomplete',
'#size' => 50,
//'#theme' => 'cmis_browser_folder_picker',
);
$form['submit'] = array(
'#type' => 'submit',
'#name' => 'browse',
'#default_value' => 'Browse',
);
return $form;
*/
}