function theme_drupagram_likes in Drupagram 6
Same name and namespace in other branches
- 7 drupagram.theme.inc \theme_drupagram_likes()
Theme the likes data
1 theme call to theme_drupagram_likes()
File
- ./
drupagram.theme.inc, line 10 - Gathers all the theme functions
Code
function theme_drupagram_likes($variables) {
$output = '';
$count = $variables['count'];
$items = theme('drupagram_likes_data', $variables);
$output .= '<div class="drupagram-likes">';
$output .= ' <div class="drupagram-likes-count">';
$output .= ' <span class="drupagram-likes-count-label">' . t('Likes') . ': ' . '</span>';
$output .= ' <span class="drupagram-likes-count-value">' . $count . '</span>';
$output .= ' </div>';
$output .= $items;
$output .= '</div>';
return $output;
}