You are here

function theme_imagepicker_image_edit_header in Image Picker 7

Same name and namespace in other branches
  1. 6.2 imagepicker.module \theme_imagepicker_image_edit_header()
2 theme calls to theme_imagepicker_image_edit_header()
imagepicker_admin_images in ./imagepicker.admin.inc
_imagepicker_edit_img in ./imagepicker.edit.inc
private functions

File

./imagepicker.module, line 1629
@author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function theme_imagepicker_image_edit_header($variables) {
  $image = $variables['image'];
  $source = $variables['source'];
  $output = '<div class="imgp_help">' . t('Edit image details') . '</div>';
  $output .= '<div id="imgp_img_holder"><img src="' . $source . '" alt="' . $image->img_title . '" /></div>';
  return $output;
}