Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function theme_custom_feeder($variables) {
- $node = custom_load_context('current-node');
- $output = '';
- $output = '<h2 class="feeder-title">' . $variables['title'] . '</h2>';
- $variables['block_name'] = 'feeder';
- $output .= theme('custom_engagement_block', $variables);
- if ($node->type == 'issue') {
- $output .= l('View All', 'issues', array('attributes'=>array('class'=>'view-all')));
- $output .= l('Type Feed (RSS)', 'issues/feed', array('attributes'=>array('class'=>'type-feed')));
- }
- return $output;
- }
Add Comment
Please, Sign In to add comment