You are here

function theme_emthumb_edit_image_row in Embedded Media Field 5

Same name and namespace in other branches
  1. 6.3 contrib/emthumb/emthumb.module \theme_emthumb_edit_image_row()
  2. 6 contrib/emthumb/emthumb.module \theme_emthumb_edit_image_row()
  3. 6.2 contrib/emthumb/emthumb.module \theme_emthumb_edit_image_row()
1 theme call to theme_emthumb_edit_image_row()
_emthumb_widget_form in contrib/emthumb/emthumb.module

File

contrib/emthumb/emthumb.module, line 520

Code

function theme_emthumb_edit_image_row($element) {
  $output = '<div class="emthumb-edit-preview">' . drupal_render($element['preview']) . '</div>';
  $output .= '<div class="emthumb-edit-image-detail">';
  $output .= '<div class="emthumb-edit-image-flags">' . drupal_render($element['flags']) . '</div>';
  $output .= '<div class="emthumb-edit-image-description">' . drupal_render($element['description']);
  $output .= '</div>';
  $output .= drupal_render($element['emthumb_alt']);
  $output .= drupal_render($element['emthumb_title']);
  $output .= '</div>';

  //$output .= '<div class="imagefield-edit-image-fid">'. $element['fid']['#value'] .'</div>';
  $output = '<div class="emthumb-edit-image-row clear-block">' . $output . '</div>';
  if (isset($element['replace'])) {
    $output .= '<div class="emthumb-edit-image-replace">' . drupal_render($element['replace']) . '</div>';
  }
  return $output;
}