function theme_linkimagefield_edit_image_row in Link Image Field 5
1 theme call to theme_linkimagefield_edit_image_row()
File
- ./
linkimagefield.module, line 619 - Defines an link image field type. linkimagefield uses content.module to store the fid, and the drupal files table to store the actual file data.
Code
function theme_linkimagefield_edit_image_row($element) {
$output = '<div class="linkimagefield-edit-preview">' . drupal_render($element['preview']) . '</div>';
$output .= '<div class="linkimagefield-edit-image-detail">';
$output .= '<div class="linkimagefield-edit-image-flags">' . drupal_render($element['flags']) . '</div>';
$output .= '<div class="linkimagefield-edit-image-description">' . drupal_render($element['description']);
$output .= '</div>';
$output .= drupal_render($element['alt']);
$output .= drupal_render($element['title']);
$output .= drupal_render($element['url']);
$output .= '</div>';
//$output .= '<div class="linkimagefield-edit-image-fid">'. $element['fid']['#value'] .'</div>';
$output = '<div class="linkimagefield-edit-image-row clear-block">' . $output . '</div>';
if (isset($element['replace'])) {
$output .= '<div class="linkimagefield-edit-image-replace">' . drupal_render($element['replace']) . '</div>';
}
return $output;
}