Templates überarbeitet
This commit is contained in:
parent
3c75287785
commit
f16141a390
@ -1,70 +0,0 @@
|
|||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
<?php if ($this->printable): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div class="pdf_link">
|
|
||||||
<?php if ($this->printButton): ?>
|
|
||||||
<a href="<?php echo $this->print; ?>" rel="nofollow" title="<?php echo $this->printTitle; ?>" onclick="window.print();return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/print.gif" width="16" height="16" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->pdfButton): ?>
|
|
||||||
<a href="<?php echo $this->href; ?>" rel="nofollow" title="<?php echo $this->pdfTitle; ?>"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/pdf.gif" width="16" height="16" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->facebookButton): ?>
|
|
||||||
<a href="share/?p=facebook[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->facebookTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/facebook.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->twitterButton): ?>
|
|
||||||
<a href="share/?p=twitter[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->twitterTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/twitter.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->gplusButton): ?>
|
|
||||||
<a href="share/?p=gplus[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->gplusTitle; ?>" onclick="window.open(this.href,'','width=600,height=200,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/gplus.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php echo implode($this->elements); ?>
|
|
||||||
<?php if ($this->backlink): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<p class="back"><a href="<?php echo $this->backlink; ?>" title="<?php echo $this->back; ?>"><?php echo $this->back; ?></a></p>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
@ -1,71 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
<?php if ($this->printable): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div class="pdf_link">
|
|
||||||
<?php if ($this->printButton): ?>
|
|
||||||
<a href="<?php echo $this->print; ?>" rel="nofollow" title="<?php echo $this->printTitle; ?>" onclick="window.print();return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/print.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->pdfButton): ?>
|
|
||||||
<a href="<?php echo $this->href; ?>" rel="nofollow" title="<?php echo $this->pdfTitle; ?>"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/pdf.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->facebookButton): ?>
|
|
||||||
<a href="share/?p=facebook&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->facebookTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/facebook.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->twitterButton): ?>
|
|
||||||
<a href="share/?p=twitter&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->twitterTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/twitter.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->gplusButton): ?>
|
|
||||||
<a href="share/?p=gplus&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->gplusTitle; ?>" onclick="window.open(this.href,'','width=600,height=200,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/gplus.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php echo implode($this->elements); ?>
|
|
||||||
<?php if ($this->backlink): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<p class="back"><a href="<?php echo $this->backlink; ?>" title="<?php echo $this->back; ?>"><?php echo $this->back; ?></a></p>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
@ -1,88 +0,0 @@
|
|||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
<?php if ($this->printable): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div class="pdf_link">
|
|
||||||
<?php if ($this->printButton): ?>
|
|
||||||
<a href="<?php echo $this->print; ?>" rel="nofollow" title="<?php echo $this->printTitle; ?>" onclick="window.print();return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/print.gif" width="16" height="16" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->pdfButton): ?>
|
|
||||||
<a href="<?php echo $this->href; ?>" rel="nofollow" title="<?php echo $this->pdfTitle; ?>"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/pdf.gif" width="16" height="16" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->facebookButton): ?>
|
|
||||||
<a href="share/?p=facebook[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->facebookTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/facebook.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->twitterButton): ?>
|
|
||||||
<a href="share/?p=twitter[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->twitterTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/twitter.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->gplusButton): ?>
|
|
||||||
<a href="share/?p=gplus[&]u=<?php echo $this->encUrl; ?>[&]t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->gplusTitle; ?>" onclick="window.open(this.href,'','width=600,height=200,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/gplus.gif" width="24" height="24" alt=""></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php echo implode($this->elements); ?>
|
|
||||||
<?php if ($this->backlink): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<p class="back"><a href="<?php echo $this->backlink; ?>" title="<?php echo $this->back; ?>"><?php echo $this->back; ?></a></p>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?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->rateItID; ?>" 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; ?>
|
|
@ -1,89 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope="" class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
<?php if ($this->printable): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div class="pdf_link">
|
|
||||||
<?php if ($this->printButton): ?>
|
|
||||||
<a href="<?php echo $this->print; ?>" rel="nofollow" title="<?php echo $this->printTitle; ?>" onclick="window.print();return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/print.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->pdfButton): ?>
|
|
||||||
<a href="<?php echo $this->href; ?>" rel="nofollow" title="<?php echo $this->pdfTitle; ?>"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/pdf.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->facebookButton): ?>
|
|
||||||
<a href="share/?p=facebook&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->facebookTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/facebook.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->twitterButton): ?>
|
|
||||||
<a href="share/?p=twitter&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->twitterTitle; ?>" onclick="window.open(this.href,'','width=640,height=380,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/twitter.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<?php if ($this->gplusButton): ?>
|
|
||||||
<a href="share/?p=gplus&u=<?php echo $this->encUrl; ?>&t=<?php echo $this->encTitle; ?>" rel="nofollow" title="<?php echo $this->gplusTitle; ?>" onclick="window.open(this.href,'','width=600,height=200,modal=yes,left=100,top=50,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no');return false"><img src="<?php echo TL_FILES_URL; ?>assets/contao/images/gplus.gif" width="16" height="16" alt="" /></a>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php echo implode($this->elements); ?>
|
|
||||||
<?php if ($this->backlink): ?>
|
|
||||||
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<p class="back"><a href="<?php echo $this->backlink; ?>" title="<?php echo $this->back; ?>"><?php echo $this->back; ?></a></p>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?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->rateItID; ?>" 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; ?>
|
|
@ -1,50 +0,0 @@
|
|||||||
|
|
||||||
<ul>
|
|
||||||
<?php foreach ($this->body as $class=>$row): ?>
|
|
||||||
<?php foreach ($row as $col): ?>
|
|
||||||
<?php if ($col->addImage): ?>
|
|
||||||
<li class="<?php echo $class; ?> <?php echo $col->class; ?>">
|
|
||||||
<div class="image_container"<?php if ($col->margin): ?> style="<?php echo $col->margin; ?>"<?php endif; ?>>
|
|
||||||
<?php if ($col->href): ?>
|
|
||||||
<a href="<?php echo $col->href; ?>"<?php echo $col->attributes; ?> title="<?php echo $col->alt; ?>"><img src="<?php echo $col->src; ?>"<?php echo $col->imgSize; ?> alt="<?php echo $col->alt; ?>" /></a>
|
|
||||||
<?php else: ?>
|
|
||||||
<img src="<?php echo $col->src; ?>"<?php echo $col->imgSize; ?> alt="<?php echo $col->alt; ?>" />
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($col->caption): ?>
|
|
||||||
<div class="caption" style="width:<?php echo $col->arrSize[0]; ?>px"><?php echo $col->caption; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->arrRating[$col->singleSRC]['rateItID']; ?>" class="<?php echo $this->arrRating[$col->singleSRC]['rateit_class']; ?>">
|
|
||||||
<?php if ($this->arrRating[$col->singleSRC]['showBefore']) : ?>
|
|
||||||
<div id="<?php echo $this->arrRating[$col->singleSRC]['descriptionId']; ?>" class="ratingText"><?php echo $this->arrRating[$col->singleSRC]['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($this->arrRating[$col->singleSRC]['showAfter']) : ?>
|
|
||||||
<div id="<?php echo $this->arrRating[$col->singleSRC]['descriptionId']; ?>" class="ratingText"><?php echo $this->arrRating[$col->singleSRC]['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
</li>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
<script type="text/javascript">
|
|
||||||
/* <![CDATA[ */
|
|
||||||
var arrRatings = new Array();
|
|
||||||
<?php $i = 0; ?>
|
|
||||||
<?php foreach ($this->arrRating as $url=>$rating): ?>
|
|
||||||
arrRatings[<?php echo $i;?>] = new Object();
|
|
||||||
arrRatings[<?php echo $i;?>]["URL"] = "<?php echo $url; ?>";
|
|
||||||
arrRatings[<?php echo $i;?>]["rated"] = false;
|
|
||||||
<?php foreach ($rating as $key=>$value): ?>
|
|
||||||
arrRatings[<?php echo $i;?>]["<?php echo $key; ?>"] = "<?php echo $value; ?>";
|
|
||||||
<?php endforeach; ?>
|
|
||||||
<?php $i = $i + 1; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
/* ]]> */
|
|
||||||
</script>
|
|
@ -1,26 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Add the colorbox style sheet and javascript
|
|
||||||
$GLOBALS['TL_CSS'][] = 'assets/jquery/colorbox/'. COLORBOX .'/css/colorbox.min.css||static';
|
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'bundles/cgoitrateit/js/jquery/colorbox/colorbox-rateit.min.js|static';
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
/* <![CDATA[ */
|
|
||||||
(function($) {
|
|
||||||
$(document).ready(function() {
|
|
||||||
$('a[rel^=lightbox]').colorbox({
|
|
||||||
// Put custom options here
|
|
||||||
loop: false,
|
|
||||||
maxWidth: '95%',
|
|
||||||
maxHeight: '95%'
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
String.prototype.endsWith = function(suffix) {
|
|
||||||
return this.indexOf(suffix, this.length - suffix.length) !== -1;
|
|
||||||
};
|
|
||||||
})(jQuery);
|
|
||||||
/* ]]> */
|
|
||||||
</script>
|
|
@ -1,48 +0,0 @@
|
|||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->headline): ?>
|
|
||||||
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<?php foreach ($this->articles as $article): ?>
|
|
||||||
<li>
|
|
||||||
<?php if ($article['rateit_rating_before']): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $article['rateItID']; ?>" class="<?php echo $article['rateit_class']; ?>">
|
|
||||||
<?php if ($article['showBefore']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($article['showAfter']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<a href="<?php echo $this->request; ?>#<?php echo $article['id']; ?>" title="<?php echo $article['title']; ?>"><?php echo $article['link']; ?></a>
|
|
||||||
<?php if ($article['rateit_rating_after']): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $article['rateItID']; ?>" class="<?php echo $article['rateit_class']; ?>">
|
|
||||||
<?php if ($article['showBefore']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($article['showAfter']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
</li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
@ -1,46 +0,0 @@
|
|||||||
|
|
||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->headline): ?>
|
|
||||||
<<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<?php foreach ($this->articles as $article): ?>
|
|
||||||
<?php if ($article['rateit_rating_before']): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $article['rateItID']; ?>" class="<?php echo $article['rateit_class']; ?>">
|
|
||||||
<?php if ($article['showBefore']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($article['showAfter']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<li><a href="<?php echo $this->request; ?>#<?php echo $article['id']; ?>" title="<?php echo $article['title']; ?>"><?php echo $article['link']; ?></a></li>
|
|
||||||
<?php if ($article['rateit_rating_after']): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $article['rateItID']; ?>" class="<?php echo $article['rateit_class']; ?>">
|
|
||||||
<?php if ($article['showBefore']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<?php if ($article['showAfter']) : ?>
|
|
||||||
<div id="<?php echo $article['descriptionId']; ?>" class="ratingText"><?php echo $article['description']; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
41
src/Resources/contao/templates/mod_article_rateit.html5
Normal file
41
src/Resources/contao/templates/mod_article_rateit.html5
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
<?php $this->extend('mod_article'); ?>
|
||||||
|
|
||||||
|
<?php $this->block('content'); ?>
|
||||||
|
<?php if ($this->rateit_rating_before): ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<div id="<?= $this->rateItID ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
|
||||||
|
<?php if ($this->showBefore) : ?>
|
||||||
|
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $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="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php $this->endblock(); ?>
|
||||||
|
<!-- indexer::continue -->
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php $this->parent(); ?>
|
||||||
|
<?php if ($this->rateit_rating_after): ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<div id="<?= $this->rateItID ?>" class="<?= $this->class ?> <?= $this->rateit_class ?>">
|
||||||
|
<?php if ($this->showBefore) : ?>
|
||||||
|
<div id="<?= $this->descriptionId ?>" class="ratingText"><?= $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="<?= $this->descriptionId ?>" class="ratingText"><?= $this->description ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php $this->endblock(); ?>
|
||||||
|
<!-- indexer::continue -->
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php $this->endblock(); ?>
|
@ -1,66 +0,0 @@
|
|||||||
<article class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
<div class="ce_text block">
|
|
||||||
|
|
||||||
<h2><?php echo $this->headline; ?></h2>
|
|
||||||
|
|
||||||
<div class="teaser">
|
|
||||||
<?php echo $this->teaser; ?>
|
|
||||||
<p class="more"><a href="<?php echo $this->href; ?>" title="<?php echo $this->readMore; ?>"><?php echo $this->more; ?> <span class="invisible"><?php echo $this->headline; ?></span></a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
</article>
|
|
@ -1,66 +0,0 @@
|
|||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope="" class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
<div class="ce_text block">
|
|
||||||
|
|
||||||
<h2><?php echo $this->headline; ?></h2>
|
|
||||||
|
|
||||||
<div class="teaser">
|
|
||||||
<?php echo $this->teaser; ?>
|
|
||||||
<p class="more"><a href="<?php echo $this->href; ?>" title="<?php echo $this->readMore; ?>"><?php echo $this->more; ?> <span class="invisible"><?php echo $this->headline; ?></span></a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div itemtype="http://schema.org/CreativeWork" itemscope="" class="rating-microdata">
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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; ?>
|
|
||||||
|
|
||||||
</div>
|
|
@ -1,48 +0,0 @@
|
|||||||
<article class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="ce_text block">
|
|
||||||
|
|
||||||
<h2><?php echo $this->headline; ?></h2>
|
|
||||||
|
|
||||||
<div class="teaser">
|
|
||||||
<?php echo $this->teaser; ?>
|
|
||||||
<p class="more"><a href="<?php echo $this->href; ?>" title="<?php echo $this->readMore; ?>"><?php echo $this->more; ?> <span class="invisible"><?php echo $this->headline; ?></span></a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</article>
|
|
@ -1,48 +0,0 @@
|
|||||||
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="ce_text block">
|
|
||||||
|
|
||||||
<h2><?php echo $this->headline; ?></h2>
|
|
||||||
|
|
||||||
<div class="teaser">
|
|
||||||
<?php echo $this->teaser; ?>
|
|
||||||
<p class="more"><a href="<?php echo $this->href; ?>" title="<?php echo $this->readMore; ?>"><?php echo $this->more; ?> <span class="invisible"><?php echo $this->headline; ?></span></a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div id="<?php echo $this->rateItID; ?>" 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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
@ -0,0 +1,16 @@
|
|||||||
|
<?php $this->extend('mod_article_rateit'); ?>
|
||||||
|
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
||||||
|
<?php $this->parent(); ?>
|
||||||
|
<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 $this->endblock(); ?>
|
47
src/Resources/contao/templates/mod_articlelist_rateit.html5
Normal file
47
src/Resources/contao/templates/mod_articlelist_rateit.html5
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<?php $this->extend('block_unsearchable'); ?>
|
||||||
|
|
||||||
|
<?php $this->block('content'); ?>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<?php foreach ($this->articles as $article): ?>
|
||||||
|
<?php if ($article['rateit_rating_before']): ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<div id="<?= $article['rateItID'] ?>" class="<?= $article['rateit_class'] ?>">
|
||||||
|
<?php if ($article['showBefore']) : ?>
|
||||||
|
<div id="<?= $article['descriptionId'] ?>" class="ratingText"><?= $article['description'] ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="rateItRating-selected" style="display: block;"></div>
|
||||||
|
<div class="rateItRating-hover"></div>
|
||||||
|
</div>
|
||||||
|
<?php if ($article['showAfter']) : ?>
|
||||||
|
<div id="<?= $article['descriptionId'] ?>" class="ratingText"><?= $article['description'] ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php $this->endblock(); ?>
|
||||||
|
<!-- indexer::continue -->
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php $this->parent(); ?>
|
||||||
|
<?php if ($article['rateit_rating_after']): ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<div id="<?= $article['rateItID'] ?>" class="<?= $article['rateit_class'] ?>">
|
||||||
|
<?php if ($article['showBefore']) : ?>
|
||||||
|
<div id="<?= $article['descriptionId'] ?>" class="ratingText"><?= $article['description'] ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
<div class="wrapper">
|
||||||
|
<div class="rateItRating-selected" style="display: block;"></div>
|
||||||
|
<div class="rateItRating-hover"></div>
|
||||||
|
</div>
|
||||||
|
<?php if ($article['showAfter']) : ?>
|
||||||
|
<div id="<?= $article['descriptionId'] ?>" class="ratingText"><?= $article['description'] ?></div>
|
||||||
|
<?php endif; ?>
|
||||||
|
</div>
|
||||||
|
<?php $this->endblock(); ?>
|
||||||
|
<!-- indexer::continue -->
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<?php $this->endblock(); ?>
|
@ -0,0 +1,16 @@
|
|||||||
|
<?php $this->extend('mod_articlelist_rateit'); ?>
|
||||||
|
|
||||||
|
<?php $this->block('rating'); ?>
|
||||||
|
<!-- indexer::stop -->
|
||||||
|
<div itemtype="http://schema.org/CreativeWork" itemscope class="rating-microdata">
|
||||||
|
<?php $this->parent(); ?>
|
||||||
|
<span class="rating-microdata" itemprop="name"><?= $article['itemreviewed'] ?></span>
|
||||||
|
<span class="rating-microdata" itemtype="http://schema.org/AggregateRating" itemscope itemprop="aggregateRating">
|
||||||
|
<span itemprop="ratingValue"><?= $article['actRating'] ?></span>
|
||||||
|
<span itemprop="worstRating">0</span>
|
||||||
|
<span itemprop="bestRating"><?= $article['maxRating'] ?></span>
|
||||||
|
<span itemprop="ratingCount"><?= $article['votes'] ?></span>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<!-- indexer::continue -->
|
||||||
|
<?php $this->endblock(); ?>
|
@ -1,31 +0,0 @@
|
|||||||
|
|
||||||
<div class="<?= $this->class; ?> block"<?= $this->cssID; ?><?php if ($this->style): ?> style="<?= $this->style; ?>"<?php endif; ?>>
|
|
||||||
|
|
||||||
<?php if ($this->headline): ?>
|
|
||||||
<<?= $this->hl ?>><?= $this->headline; ?></<?= $this->hl; ?>>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<?php foreach ($this->arrRatings as $rating): ?>
|
|
||||||
<li>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<div class="rateItTitle">
|
|
||||||
<?php if ($rating->url): ?>
|
|
||||||
<a href="<?= $rating->url ?>"><?= $rating->title ?></a>
|
|
||||||
<?php else: ?>
|
|
||||||
<?= $rating->title ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<div id="<?= $rating->rateItID ?>" class="<?= $rating->rateit_class ?>" rel="<?= $rating->rel ?>">
|
|
||||||
<div class="wrapper">
|
|
||||||
<div class="rateItRating-selected" style="display: block;"></div>
|
|
||||||
<div class="rateItRating-hover"></div>
|
|
||||||
</div>
|
|
||||||
<div id="<?= $rating->descriptionId ?>" class="ratingText"><?= $rating->description ?></div>
|
|
||||||
</div>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
</li>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</div>
|
|
@ -1,33 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
// Add the mediabox style sheet
|
|
||||||
$GLOBALS['TL_CSS'][] = 'assets/mootools/mediabox/'. MEDIABOX .'/css/mediaboxAdvBlack21.css||static';
|
|
||||||
$GLOBALS['TL_JAVASCRIPT'][] = 'bundles/cgoitrateit/js/mootools/mediabox/mediabox-rateit.js|static';
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
<script type="text/javascript">
|
|
||||||
/* <![CDATA[ */
|
|
||||||
(function($) {
|
|
||||||
window.addEvent('domready', function() {
|
|
||||||
var links = $$('a').filter(function(el) {
|
|
||||||
return el.rel && el.rel.test(/^lightbox/i);
|
|
||||||
});
|
|
||||||
$$(links).mediabox({
|
|
||||||
/* Put custom options here */
|
|
||||||
}, null, function(el) {
|
|
||||||
var rel0 = this.rel.replace(/[[]|]/gi,' ');
|
|
||||||
var relsize = rel0.split(' ');
|
|
||||||
return (this == el) || ((this.rel.length > 8) && el.rel.match(relsize[1]));
|
|
||||||
});
|
|
||||||
$('mbImage').addEvent('swipe', function(e) {
|
|
||||||
(e.direction == 'left') ? $('mbNextLink').fireEvent('click') : $('mbPrevLink').fireEvent('click');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
String.prototype.endsWith = function(suffix) {
|
|
||||||
return this.indexOf(suffix, this.length - suffix.length) !== -1;
|
|
||||||
};
|
|
||||||
})(document.id);
|
|
||||||
/* ]]> */
|
|
||||||
</script>
|
|
@ -1,90 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="layout_full block<?php echo $this->class; ?>">
|
|
||||||
|
|
||||||
<h1><?php echo $this->newsHeadline; ?></h1>
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->hasSubHeadline): ?>
|
|
||||||
|
|
||||||
<h2><?php echo $this->subHeadline; ?></h2>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="ce_text">
|
|
||||||
<?php if (!$this->addBefore): ?>
|
|
||||||
|
|
||||||
<?php echo $this->text; ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addImage): ?>
|
|
||||||
|
|
||||||
<div 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): ?>
|
|
||||||
<div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addBefore): ?>
|
|
||||||
|
|
||||||
<?php echo $this->text; ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<?php if ($this->enclosure): ?>
|
|
||||||
|
|
||||||
<div class="enclosure">
|
|
||||||
<?php foreach ($this->enclosure as $enclosure): ?>
|
|
||||||
<p><img src="<?php echo $enclosure['icon']; ?>" width="18" height="18" alt="<?php echo $enclosure['mime']; ?>" class="mime_icon" /> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?> <span class="size">(<?php echo $enclosure['filesize']; ?>)</span></a></p>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</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->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="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; ?>
|
|
@ -1,101 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- 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; ?>
|
|
||||||
|
|
||||||
<div class="layout_full block<?php echo $this->class; ?>">
|
|
||||||
|
|
||||||
<h1><?php echo $this->newsHeadline; ?></h1>
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->hasSubHeadline): ?>
|
|
||||||
|
|
||||||
<h2><?php echo $this->subHeadline; ?></h2>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="ce_text">
|
|
||||||
<?php if (!$this->addBefore): ?>
|
|
||||||
|
|
||||||
<?php echo $this->text; ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addImage): ?>
|
|
||||||
|
|
||||||
<div 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): ?>
|
|
||||||
<div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addBefore): ?>
|
|
||||||
|
|
||||||
<?php echo $this->text; ?>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<?php if ($this->enclosure): ?>
|
|
||||||
|
|
||||||
<div class="enclosure">
|
|
||||||
<?php foreach ($this->enclosure as $enclosure): ?>
|
|
||||||
<p><img src="<?php echo $enclosure['icon']; ?>" width="18" height="18" alt="<?php echo $enclosure['mime']; ?>" class="mime_icon" /> <a href="<?php echo $enclosure['href']; ?>" title="<?php echo $enclosure['title']; ?>"><?php echo $enclosure['link']; ?> <span class="size">(<?php echo $enclosure['filesize']; ?>)</span></a></p>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
<?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; ?>
|
|
@ -1,69 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="layout_latest block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addImage): ?>
|
|
||||||
<div 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): ?>
|
|
||||||
<div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<?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://data-vocabulary.org/Review-aggregate" 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="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; ?>
|
|
@ -1,79 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- 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; ?>
|
|
||||||
|
|
||||||
<div class="layout_latest block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?php echo $this->author; ?> <?php echo $this->commentCount; ?></p>
|
|
||||||
<?php endif; ?>
|
|
||||||
<?php if ($this->addImage): ?>
|
|
||||||
<div 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): ?>
|
|
||||||
<div class="caption" style="width:<?php echo $this->arrSize[0]; ?>px"><?php echo $this->caption; ?></div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</div>
|
|
||||||
<?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; ?>
|
|
@ -1,55 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="layout_short block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?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://data-vocabulary.org/Review-aggregate" 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="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; ?>
|
|
@ -1,65 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- 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; ?>
|
|
||||||
|
|
||||||
<div class="layout_short block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->hasMetaFields): ?>
|
|
||||||
<p class="info"><?php echo $this->date; ?> <?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; ?>
|
|
@ -1,38 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
||||||
<div class="layout_simple block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->date): ?><?php echo $this->date; ?> <?php endif; ?><?php echo $this->linkHeadline; ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if ($this->rateit_rating_after): ?>
|
|
||||||
<!-- indexer::stop -->
|
|
||||||
<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>
|
|
||||||
<!-- indexer::continue -->
|
|
||||||
<?php endif; ?>
|
|
@ -1,56 +0,0 @@
|
|||||||
|
|
||||||
<?php if ($this->rateit_rating_before): ?>
|
|
||||||
<!-- 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; ?>
|
|
||||||
|
|
||||||
<div class="layout_simple block<?php echo $this->class; ?>">
|
|
||||||
<?php if ($this->date): ?><?php echo $this->date; ?> <?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; ?>
|
|
@ -1,14 +0,0 @@
|
|||||||
<!-- 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; ?>>
|
|
||||||
<?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>
|
|
||||||
<!-- indexer::continue -->
|
|
@ -1,23 +0,0 @@
|
|||||||
<!-- indexer::stop -->
|
|
||||||
<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; ?>>
|
|
||||||
<?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 -->
|
|
Loading…
Reference in New Issue
Block a user