Guest User

Untitled

a guest
Apr 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1.  
  2. function theme_custom_feeder($variables) {
  3. $node = custom_load_context('current-node');
  4. $output = '';
  5. $output = '<h2 class="feeder-title">' . $variables['title'] . '</h2>';
  6. $variables['block_name'] = 'feeder';
  7. $output .= theme('custom_engagement_block', $variables);
  8. if (!empty($node) && $node->type == 'issue') {
  9. $output .= l('View All', 'issues', array('attributes'=>array('class'=>'view-all')));
  10. $output .= l('Type Feed (RSS)', 'issues/feed', array('attributes'=>array('class'=>'type-feed')));
  11. }
  12. return $output;
  13. }
Add Comment
Please, Sign In to add comment