You are here

function imagepicker_browse_public in Image Picker 7

Same name and namespace in other branches
  1. 5.2 imagepicker.module \imagepicker_browse_public()
  2. 6.2 imagepicker.functions.inc \imagepicker_browse_public()
1 call to imagepicker_browse_public()
imagepicker_box in ./imagepicker.functions.inc
6 string references to 'imagepicker_browse_public'
imagepicker_admin_images in ./imagepicker.admin.inc
imagepicker_browse_admin_form in ./imagepicker.functions.inc
imagepicker_browse_public_form in ./imagepicker.functions.inc
Function to display the public status selection form
imagepicker_browse_public_form_submit in ./imagepicker.functions.inc
Submit form
_imagepicker_browse_public in ./imagepicker.functions.inc

... See full list

File

./imagepicker.functions.inc, line 24
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function imagepicker_browse_public($img_id = 0) {
  if ($img_id) {
    return imagepicker_image_select($img_id, FALSE, TRUE);
  }
  else {
    return theme('imagepicker_iframe', array(
      'content' => _imagepicker_browse_public(),
    ));
  }
}