You are here

function imagepicker_postlet_admin_page in Image Picker 6.2

callback from admin/settings/imagepicker

1 string reference to 'imagepicker_postlet_admin_page'
imagepicker_postlet_menu in contribs/imagepicker_postlet/imagepicker_postlet.module
Implementation of hook_menu().

File

contribs/imagepicker_postlet/imagepicker_postlet.module, line 118
Enables upload of images using Postlet java applet. http://www.postlet.com/ http://sourceforge.net/projects/postlet/

Code

function imagepicker_postlet_admin_page($account) {
  if ($account) {
    $user = user_load(array(
      'uid' => $account,
    ));
  }
  module_load_include('inc', 'imagepicker', 'imagepicker.admin');
  $content .= drupal_get_form('imagepicker_user_search_form', 'images');
  $content .= '<p>' . t('Managing images for ') . ($user->name ? l($user->name, "user/" . $user->uid) : 'All') . '</p>';
  $content .= imagepicker_postlet_upload('admin', $user);
  return $content;
}