You are here

function dropbox_client_upload_form in Dropbox Client 7.4

Same name and namespace in other branches
  1. 7 dropbox_client.module \dropbox_client_upload_form()
  2. 7.2 dropbox_client.module \dropbox_client_upload_form()
  3. 7.3 dropbox_client.module \dropbox_client_upload_form()
1 string reference to 'dropbox_client_upload_form'
dropbox_client_block_view in ./dropbox_client.module
Return a rendered or renderable view of a block.

File

./dropbox_client.module, line 503

Code

function dropbox_client_upload_form($form, &$form_state) {
  $form['upload'] = array(
    '#title' => t('Upload file'),
    '#type' => 'file',
    '#size' => 20,
  );
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Upload'),
  );
  return $form;
}