You are here

function imagepicker_user_upload in Image Picker 6.2

Same name and namespace in other branches
  1. 5.2 imagepicker.module \imagepicker_user_upload()
  2. 5 imagepicker.module \imagepicker_user_upload()
  3. 7 imagepicker.upload.inc \imagepicker_user_upload()
1 call to imagepicker_user_upload()
imagepicker_user_page in ./imagepicker.user.inc
@file my imagepicker in my account

File

./imagepicker.upload.inc, line 24

Code

function imagepicker_user_upload() {
  global $user;
  $content = '';
  variable_del('imagepicker_advanced_browser_pagestart');
  if (variable_get('imagepicker_upload_progress_enabled', 1)) {
    $content = imagepicker_upload_progress_get_script(variable_get('imagepicker_upload_progress_delay', 0));
  }
  $content .= imagepicker_quota_ok('user', $user, '', t('Upload images. You can give them a title and description'));
  return $content;
}