Created
January 10, 2011 09:19
-
-
Save lslinnet/772567 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// $Id$ | |
?> | |
<?php if($content->module == "nodequeue") : ?> | |
<?php foreach ($content->content as $article) : ?> | |
<div class="article article-with-teaser-large <?php print $content->css_class; ?>"> | |
<?php | |
$options = array( | |
// array('type' => 'image', 'preset' => mjm_get_preset($content->css_class)), | |
array('type' => 'title', 'element' => 'h2', 'link' => TRUE), | |
array('type' => 'tag',), | |
array('type' => 'summary', 'link' => TRUE), | |
array('type' => 'plainhtml', 'html' => ' '), | |
array('type' => 'read_more'), | |
array('type' => 'related', 'rel_count' => 2,), | |
); | |
$html = utility_l(theme('news_article_image', array('preset' => mjm_get_preset($content->css_class))); | |
$html .= theme('news_article', $article, $options); | |
?> | |
<?php print $html; ?> | |
</div> | |
<?php endforeach; ?> | |
<?php endif ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment