Skip to content
Snippets Groups Projects
Commit 3cc6dc9c authored by Dorian Merz's avatar Dorian Merz
Browse files

Merge branch 'master-v5' into instance/fid

parents 581634a6 b2cd789f
No related merge requests found
...@@ -13,10 +13,7 @@ ...@@ -13,10 +13,7 @@
<?php /* Display thumbnail if appropriate: */ ?> <?php /* Display thumbnail if appropriate: */ ?>
<?php if ($cover): ?> <?php if ($cover): ?>
<?=$cover?> <?=$cover?>
<?php /* BOF - finc-specific StyleBasedIcons */ ?> <?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, false position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?=$this->record($this->driver)->getFormatIcon()?>
<?php /* EOF - finc-specific StyleBasedIcons */ ?>
<?php endif; ?> <?php endif; ?>
<?php /* Display qrcode if appropriate: */ ?> <?php /* Display qrcode if appropriate: */ ?>
...@@ -36,6 +33,10 @@ ...@@ -36,6 +33,10 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, right position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?=$this->record($this->driver)->getRecordIcon()?>
<?php /* EOF - finc-specific StyleBasedIcons */ ?>
<?php endif; ?> <?php endif; ?>
<div class="media-body"> <div class="media-body">
......
...@@ -14,10 +14,7 @@ ...@@ -14,10 +14,7 @@
<?php /* Display thumbnail if appropriate: */ ?> <?php /* Display thumbnail if appropriate: */ ?>
<?php if($cover): ?> <?php if($cover): ?>
<?=$cover?> <?=$cover?>
<?php /* BOF - finc-specific StyleBasedIcons */ ?> <?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, false position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?=$this->record($this->driver)->getFormatIcon()?>
<?php /* EOF - finc-specific StyleBasedIcons */ ?>
<?php endif; ?> <?php endif; ?>
<?php /* Display qrcode if appropriate: */ ?> <?php /* Display qrcode if appropriate: */ ?>
...@@ -37,7 +34,11 @@ ...@@ -37,7 +34,11 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php endif; ?> <?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, right position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?=$this->record($this->driver)->getRecordIcon()?>
<?php /* EOF - finc-specific StyleBasedIcons */ ?>
<?php endif; ?>
<div class="media-body"> <div class="media-body">
<?php /* finc: We want to get rid of trailing special chars in the title and limit its length to 100 chars; <?php /* finc: We want to get rid of trailing special chars in the title and limit its length to 100 chars;
......
...@@ -14,10 +14,7 @@ ...@@ -14,10 +14,7 @@
<?php /* Display thumbnail if appropriate: */ ?> <?php /* Display thumbnail if appropriate: */ ?>
<?php if($cover): ?> <?php if($cover): ?>
<?=$cover?> <?=$cover?>
<?php /* BOF - finc-specific StyleBasedIcons */ ?> <?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, false position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?=$this->record($this->driver)->getFormatIcon()?>
<?php /* EOF - finc-specific StyleBasedIcons */ ?>
<?php endif; ?> <?php endif; ?>
<?php /* Display qrcode if appropriate: */ ?> <?php /* Display qrcode if appropriate: */ ?>
...@@ -37,6 +34,12 @@ ...@@ -37,6 +34,12 @@
</div> </div>
<?php endif; ?> <?php endif; ?>
</div> </div>
<?php /* if cover or qrcode or preview not set you can not finc-specific StyleBasedIcons, right position - GG */ ?>
<?php elseif ($this->record($this->driver)->showStyleBasedIcons()): ?>
<?php /* BOF - finc-specific StyleBasedIcons */ ?>
<div class="media-left <?=$this->escapeHtmlAttr($coverDetails['size'])?> img-col">
<?=$this->record($this->driver)->getRecordIcon()?>
</div>
<?php endif; ?> <?php endif; ?>
<div class="media-body"> <div class="media-body">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment