Carsten Götzinger
11e3e2817c
Microdata auf schema.org umgestellt ID für News-Rating wird nicht mehr überschrieben
102 lines
4.3 KiB
Plaintext
102 lines
4.3 KiB
Plaintext
|
|
<?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"><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->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): ?>
|
|
|
|
<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; ?>
|
|
<?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; ?>
|