75 lines
3.6 KiB
Plaintext
75 lines
3.6 KiB
Plaintext
|
|
<div class="layout_short news4ward_list block<?php echo $this->class; ?>"<?php echo $this->cssID; ?>>
|
|
|
|
<?php if ($this->rateit_rating_before): ?>
|
|
<!-- indexer::stop -->
|
|
<div itemtype="http://data-vocabulary.org/Review-aggregate" itemscope="" class="rating-microdata">
|
|
<div id="<?php echo $this->id; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>">
|
|
<?php if ($this->showBefore) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
<div class="wrapper">
|
|
<div class="rateItRating-selected" style="display: block;"></div>
|
|
<div class="rateItRating-hover"></div>
|
|
</div>
|
|
<?php if ($this->showAfter) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
<span class="rating-microdata" itemprop="itemreviewed"><?php echo $this->itemreviewed; ?></span>
|
|
<span class="rating-microdata" itemtype="http://data-vocabulary.org/Rating" itemscope="" itemprop="rating">
|
|
<span itemprop="average"><?php echo $this->actRating; ?></span>
|
|
<span itemprop="best"><?php echo $this->maxRating; ?></span>
|
|
</span>
|
|
<span class="rating-microdata" itemprop="votes"><?php echo $this->votes; ?></span>
|
|
</div>
|
|
<!-- indexer::continue -->
|
|
<?php endif; ?>
|
|
|
|
<?php if ($this->hasMetaFields): ?>
|
|
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?></p>
|
|
<?php endif; ?>
|
|
<h2><a href="<?php echo $this->link; ?>"><?php echo $this->title; ?></a></h2>
|
|
<?php if(!empty($this->subheadline)): ?>
|
|
<h3><?php echo $this->subheadline; ?></h3>
|
|
<?php endif;?>
|
|
<div class="teaser <?php echo $this->teaserClass; ?>"<?php echo $this->teaserCssID; ?>>
|
|
<?php if(!empty($this->teaserImage)): ?>
|
|
<figure class="image_container">
|
|
<img src="<?php echo $this->teaserImage; ?>" alt="<?php echo $this->title; ?>">
|
|
<?php if ($this->teaserImageCaption): ?>
|
|
<figcaption class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->teaserImageCaption; ?></figcaption>
|
|
<?php endif; ?>
|
|
</figure>
|
|
<?php endif; ?>
|
|
<?php echo $this->teaser; ?>
|
|
</div>
|
|
|
|
<?php if ($this->rateit_rating_after): ?>
|
|
<!-- indexer::stop -->
|
|
<div itemtype="http://data-vocabulary.org/Review-aggregate" itemscope="" class="rating-microdata">
|
|
<div id="<?php echo $this->id; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>">
|
|
<?php if ($this->showBefore) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
<div class="wrapper">
|
|
<div class="rateItRating-selected" style="display: block;"></div>
|
|
<div class="rateItRating-hover"></div>
|
|
</div>
|
|
<?php if ($this->showAfter) : ?>
|
|
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div>
|
|
<?php endif; ?>
|
|
</div>
|
|
<span class="rating-microdata" itemprop="itemreviewed"><?php echo $this->itemreviewed; ?></span>
|
|
<span class="rating-microdata" itemtype="http://data-vocabulary.org/Rating" itemscope="" itemprop="rating">
|
|
<span itemprop="average"><?php echo $this->actRating; ?></span>
|
|
<span itemprop="best"><?php echo $this->maxRating; ?></span>
|
|
</span>
|
|
<span class="rating-microdata" itemprop="votes"><?php echo $this->votes; ?></span>
|
|
</div>
|
|
<!-- indexer::continue -->
|
|
<?php endif; ?>
|
|
|
|
<a href="<?php echo $this->link; ?>" class="more"><?php echo $GLOBALS['TL_LANG']['MSC']['more']; ?></a>
|
|
</div>
|