Skip to content

Instantly share code, notes, and snippets.

@tedserbinski
Created May 4, 2010 18:40
Show Gist options
  • Save tedserbinski/389786 to your computer and use it in GitHub Desktop.
Save tedserbinski/389786 to your computer and use it in GitHub Desktop.
<<<<<<< HEAD:html/sites/mothersclick.com/themes/mothersclick/preprocess/preprocess-node.inc
$vars['share_post'] = _share_posts($vars['node']);
}
=======
global $share_horizontal;
$share_horizontal = array('video', 'smackdown', 'photo');
if (in_array($vars['node']->type, $share_horizontal)) {
$vars['share_post_horizontal'] = _share_posts($vars['node']);
}
else {
$vars['share_post_vertical'] = '<div class="share-vertical">'. _share_posts($vars['node']) .'</div>';
}
}
>>>>>>> origin/dev:html/sites/mothersclick.com/themes/mothersclick/preprocess/preprocess-node.inc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment