You are here

function imagepicker_user_browse in Image Picker 5

Same name and namespace in other branches
  1. 5.2 imagepicker.module \imagepicker_user_browse()
  2. 6.2 imagepicker.user.inc \imagepicker_user_browse()
  3. 7 imagepicker.user.inc \imagepicker_user_browse()
1 call to imagepicker_user_browse()
imagepicker_user_page in ./imagepicker.module

File

./imagepicker.module, line 1246
Enables permitted roles to upload images for insertion into configured nodes.

Code

function imagepicker_user_browse() {
  global $user;
  $content = '<p>' . l(t('Admin mode'), 'user/' . $user->uid . '/imagepicker/browse/admin') . '</p>';
  $content .= _imagepicker_browse("account");
  return $content;
}