Final commit?!

This commit is contained in:
Carsten Götzinger 2018-02-15 13:58:00 +01:00
parent 06fb02136c
commit e42a1753d1
8 changed files with 164 additions and 355 deletions

View File

@ -1,69 +1,40 @@
<?php if ($this->rateit_rating_before): ?> <?php if ($this->rateit_rating_before): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->block('rating'); ?>
<?php if ($this->showBefore) : ?> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <?php if ($this->showBefore) : ?>
<?php endif; ?> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<div class="wrapper"> <?php endif; ?>
<div class="rateItRating-selected" style="display: block;"></div> <div class="wrapper">
<div class="rateItRating-hover"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div>
</div>
<?php if ($this->showAfter) : ?>
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?>
</div> </div>
<?php if ($this->showAfter) : ?> <?php $this->endblock(); ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<!-- indexer::continue -->
<?php endif; ?> <?php endif; ?>
<div class="layout_latest block<?php echo $this->class; ?>"> <?php $this->insert('news_latest', $this->arrData); ?>
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<?php if ($this->addImage): ?>
<figure class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
<?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>">
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<figcaption class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></figcaption>
<?php endif; ?>
</figure>
<?php endif; ?>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
<div class="teaser">
<?php echo $this->teaser; ?>
</div>
<?php if ($this->text): ?>
<p class="more"><?php echo $this->more; ?></p>
<?php endif; ?>
</div>
<?php if ($this->rateit_rating_after): ?> <?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://data-vocabulary.org/Review-aggregate" itemscope="" class="rating-microdata"> <?php $this->block('rating'); ?>
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<?php if ($this->showBefore) : ?> <?php if ($this->showBefore) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
<div class="wrapper"> <div class="wrapper">
<div class="rateItRating-selected" style="display: block;"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div> <div class="rateItRating-hover"></div>
</div> </div>
<?php if ($this->showAfter) : ?> <?php if ($this->showAfter) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<span class="rating-microdata" itemprop="itemreviewed"><?php echo $this->itemreviewed; ?></span> <?php $this->endblock(); ?>
<span class="rating-microdata" itemtype="http://data-vocabulary.org/Rating" itemscope="" itemprop="rating"> <!-- indexer::continue -->
<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 endif; ?>

View File

@ -1,79 +1,17 @@
<?php $this->extend('news_latest_rateit'); ?>
<?php if ($this->rateit_rating_before): ?> <?php $this->block('rating'); ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata"> <div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->parent(); ?>
<?php if ($this->showBefore) : ?> <span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<?php endif; ?> <span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<div class="wrapper"> <span itemprop="worstRating">0</span>
<div class="rateItRating-selected" style="display: block;"></div> <span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<div class="rateItRating-hover"></div> <span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</div> </span>
<?php if ($this->showAfter) : ?> </div>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>
<div class="layout_latest block<?php echo $this->class; ?>"> <?php $this->endblock(); ?>
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<?php if ($this->addImage): ?>
<figure class="image_container<?php echo $this->floatClass; ?>"<?php if ($this->margin || $this->float): ?> style="<?php echo trim($this->margin . $this->float); ?>"<?php endif; ?>>
<?php if ($this->href): ?>
<a href="<?php echo $this->href; ?>"<?php echo $this->attributes; ?> title="<?php echo $this->alt; ?>">
<?php endif; ?>
<img src="<?php echo $this->src; ?>"<?php echo $this->imgSize; ?> alt="<?php echo $this->alt; ?>">
<?php if ($this->href): ?>
</a>
<?php endif; ?>
<?php if ($this->caption): ?>
<figcaption class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></figcaption>
<?php endif; ?>
</figure>
<?php endif; ?>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
<div class="teaser">
<?php echo $this->teaser; ?>
</div>
<?php if ($this->text): ?>
<p class="more"><?php echo $this->more; ?></p>
<?php endif; ?>
</div>
<?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" 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="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>

View File

@ -1,55 +1,40 @@
<?php if ($this->rateit_rating_before): ?> <?php if ($this->rateit_rating_before): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->block('rating'); ?>
<?php if ($this->showBefore) : ?> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <?php if ($this->showBefore) : ?>
<?php endif; ?> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<div class="wrapper"> <?php endif; ?>
<div class="rateItRating-selected" style="display: block;"></div> <div class="wrapper">
<div class="rateItRating-hover"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div>
</div>
<?php if ($this->showAfter) : ?>
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?>
</div> </div>
<?php if ($this->showAfter) : ?> <?php $this->endblock(); ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<!-- indexer::continue -->
<?php endif; ?> <?php endif; ?>
<div class="layout_short block<?php echo $this->class; ?>"> <?php $this->insert('news_short', $this->arrData); ?>
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
<div class="teaser">
<?php echo $this->teaser; ?>
</div>
<?php if ($this->text): ?>
<p class="more"><?php echo $this->more; ?></p>
<?php endif; ?>
</div>
<?php if ($this->rateit_rating_after): ?> <?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://data-vocabulary.org/Review-aggregate" itemscope="" class="rating-microdata"> <?php $this->block('rating'); ?>
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<?php if ($this->showBefore) : ?> <?php if ($this->showBefore) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
<div class="wrapper"> <div class="wrapper">
<div class="rateItRating-selected" style="display: block;"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div> <div class="rateItRating-hover"></div>
</div> </div>
<?php if ($this->showAfter) : ?> <?php if ($this->showAfter) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<span class="rating-microdata" itemprop="itemreviewed"><?php echo $this->itemreviewed; ?></span> <?php $this->endblock(); ?>
<span class="rating-microdata" itemtype="http://data-vocabulary.org/Rating" itemscope="" itemprop="rating"> <!-- indexer::continue -->
<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 endif; ?>

View File

@ -1,65 +1,17 @@
<?php $this->extend('news_short_rateit'); ?>
<?php if ($this->rateit_rating_before): ?> <?php $this->block('rating'); ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata"> <div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->parent(); ?>
<?php if ($this->showBefore) : ?> <span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<?php endif; ?> <span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<div class="wrapper"> <span itemprop="worstRating">0</span>
<div class="rateItRating-selected" style="display: block;"></div> <span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<div class="rateItRating-hover"></div> <span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</div> </span>
<?php if ($this->showAfter) : ?> </div>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>
<div class="layout_short block<?php echo $this->class; ?>"> <?php $this->endblock(); ?>
<?php if ($this->hasMetaFields): ?>
<p class="info"><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
<?php endif; ?>
<h2><?php echo $this->text ? $this->linkHeadline : $this->newsHeadline; ?></h2>
<div class="teaser">
<?php echo $this->teaser; ?>
</div>
<?php if ($this->text): ?>
<p class="more"><?php echo $this->more; ?></p>
<?php endif; ?>
</div>
<?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" 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="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>

View File

@ -1,38 +1,40 @@
<?php if ($this->rateit_rating_before): ?> <?php if ($this->rateit_rating_before): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->block('rating'); ?>
<?php if ($this->showBefore) : ?> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <?php if ($this->showBefore) : ?>
<?php endif; ?> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<div class="wrapper"> <?php endif; ?>
<div class="rateItRating-selected" style="display: block;"></div> <div class="wrapper">
<div class="rateItRating-hover"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div>
</div>
<?php if ($this->showAfter) : ?>
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?>
</div> </div>
<?php if ($this->showAfter) : ?> <?php $this->endblock(); ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<!-- indexer::continue -->
<?php endif; ?> <?php endif; ?>
<div class="layout_simple block<?php echo $this->class; ?>"> <?php $this->insert('news_simple', $this->arrData); ?>
<?php if ($this->date): ?><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php endif; ?><?php echo $this->linkHeadline; ?>
</div>
<?php if ($this->rateit_rating_after): ?> <?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->block('rating'); ?>
<?php if ($this->showBefore) : ?> <div id="<?= $this->ratingId ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <?php if ($this->showBefore) : ?>
<?php endif; ?> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<div class="wrapper"> <?php endif; ?>
<div class="rateItRating-selected" style="display: block;"></div> <div class="wrapper">
<div class="rateItRating-hover"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div>
</div>
<?php if ($this->showAfter) : ?>
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?>
</div> </div>
<?php if ($this->showAfter) : ?> <?php $this->endblock(); ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<!-- indexer::continue -->
<?php endif; ?> <?php endif; ?>

View File

@ -1,56 +1,17 @@
<?php $this->extend('news_simple_rateit'); ?>
<?php if ($this->rateit_rating_before): ?> <?php $this->block('rating'); ?>
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata"> <div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?>"> <?php $this->parent(); ?>
<?php if ($this->showBefore) : ?> <span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<?php endif; ?> <span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<div class="wrapper"> <span itemprop="worstRating">0</span>
<div class="rateItRating-selected" style="display: block;"></div> <span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<div class="rateItRating-hover"></div> <span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</div> </span>
<?php if ($this->showAfter) : ?> </div>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <!-- indexer::continue -->
<?php endif; ?>
</div>
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>
<div class="layout_simple block<?php echo $this->class; ?>"> <?php $this->endblock(); ?>
<?php if ($this->date): ?><time datetime="<?php echo $this->datetime; ?>"><?php echo $this->date; ?></time> <?php endif; ?><?php echo $this->linkHeadline; ?>
</div>
<?php if ($this->rateit_rating_after): ?>
<!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->ratingId; ?>" 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="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span>
</div>
<!-- indexer::continue -->
<?php endif; ?>

View File

@ -1,14 +1,14 @@
<!-- indexer::stop --> <!-- indexer::stop -->
<div id="<?php echo $this->id; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>> <div id="<?= $this->id ?>" class="<?= $this->class ?> <?= $this->rateit_class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<?php if ($this->showBefore) : ?> <?php if ($this->showBefore) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
<div class="wrapper"> <div class="wrapper">
<div class="rateItRating-selected" style="display: block;"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div> <div class="rateItRating-hover"></div>
</div> </div>
<?php if ($this->showAfter) : ?> <?php if ($this->showAfter) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<!-- indexer::continue --> <!-- indexer::continue -->

View File

@ -1,23 +1,23 @@
<!-- indexer::stop --> <!-- indexer::stop -->
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata"> <div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
<div id="<?php echo $this->id; ?>" class="<?php echo $this->class; ?> <?php echo $this->rateit_class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>> <div id="<?= $this->id ?>" class="<?= $this->class ?> <?= $this->rateit_class ?> block"<?= $this->cssID ?><?php if ($this->style): ?> style="<?= $this->style ?>"<?php endif; ?>>
<?php if ($this->showBefore) : ?> <?php if ($this->showBefore) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
<div class="wrapper"> <div class="wrapper">
<div class="rateItRating-selected" style="display: block;"></div> <div class="rateItRating-selected" style="display: block;"></div>
<div class="rateItRating-hover"></div> <div class="rateItRating-hover"></div>
</div> </div>
<?php if ($this->showAfter) : ?> <?php if ($this->showAfter) : ?>
<div id="<?php echo $this->descriptionId; ?>" class="ratingText"><?php echo $this->description; ?></div> <div id="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span> <span class="rating-microdata" itemprop="name"><?php echo $this->itemreviewed; ?></span>
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating"> <span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
<span itemprop="ratingValue"><?php echo $this->actRating; ?></span> <span itemprop="ratingValue"><?php echo $this->actRating; ?></span>
<span itemprop="worstRating">0</span> <span itemprop="worstRating">0</span>
<span itemprop="bestRating"><?php echo $this->maxRating; ?></span> <span itemprop="bestRating"><?php echo $this->maxRating; ?></span>
<span itemprop="ratingCount"><?php echo $this->votes; ?></span> <span itemprop="ratingCount"><?php echo $this->votes; ?></span>
</span> </span>
</div> </div>
<!-- indexer::continue --> <!-- indexer::continue -->