function theme_drupagram_caption in Drupagram 7
Theme the caption
1 theme call to theme_drupagram_caption()
- drupagram_views_handler_field_caption::render in ./
drupagram_views_field_handlers.inc - Render the field.
File
- ./
drupagram.theme.inc, line 28 - Gathers all the theme functions
Code
function theme_drupagram_caption($variables) {
$output = '';
$output .= '<div class="drupagram-caption">';
$output .= ' <span class="drupagram-caption-id">' . t('ID') . ': ' . $variables['id'] . '</span>';
$output .= ' <span class="drupagram-caption-text">' . $variables['text'] . '</span>';
$output .= ' <span class="drupagram-caption-from">' . theme('drupagram_account', $variables['from']) . '</span>';
$output .= ' <span class="drupagram-caption-created-time">' . format_date($variables['created_time']) . '</span>';
$output .= '</div>';
return $output;
}