function theme_imagepicker_fullpage in Image Picker 7
Same name and namespace in other branches
- 6.2 imagepicker.module \theme_imagepicker_fullpage()
1 theme call to theme_imagepicker_fullpage()
- imagepicker_image_page in ./
imagepicker.functions.inc - Menu callback; presents the image page for imagepicker
File
- ./
imagepicker.module, line 1548 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function theme_imagepicker_fullpage($variables) {
$image = $variables['image'];
$source = $variables['source'];
$link = $variables['link'];
$output = '<div id="imgp_page"><div id="imgp_page_img">';
$output .= '<img src="' . $source . '" alt="' . (isset($image->img_title) ? $image->img_title : '') . '" /></div>';
$output .= isset($image->img_description) ? '<div>' . nl2br($image->img_description) . '</div>' : '';
$output .= $link ? '<div><a href="#" onclick="history.back()">' . t('Return to page') . '</a></div>' : '';
$output .= '</div>';
return $output;
}