function theme_drupagram_account in Drupagram 7
Theme the author.
2 theme calls to theme_drupagram_account()
- drupagram_views_handler_field_caption::render in ./
drupagram_views_field_handlers.inc - Render the field.
- theme_drupagram_caption in ./
drupagram.theme.inc - Theme the caption
File
- ./
drupagram.theme.inc, line 42 - Gathers all the theme functions
Code
function theme_drupagram_account($variables) {
$output = '';
$output .= '<div class="drupagram-author">';
$output .= ' <span class="drupagram-author-id">' . $variables['id'] . '</span>';
$output .= ' <span class="drupagram-author-profile-picture">' . l(theme('image', array(
'path' => $variables['profile_picture'],
)), 'http://instagram.com/' . $variables['username'], array(
'html' => TRUE,
)) . '</span>';
$output .= ' <span class="drupagram-author-profile-linked-full-name">';
$output .= l($variables['full_name'], 'http://instagram.com/' . $variables['username']);
$output .= ' </span>';
// $output .= ' <span class="drupagram-author-username">' . $variables['username'] . '</span>';
// $output .= ' <span class="drupagram-author-full-name">' . $variables['full_name'] . '</span>';
$output .= '</div>';
return $output;
}