<?php $c = count($this->driver->getFormats()); ?>
<?php foreach ($this->driver->getFormats() as $format): ?>
  <span class="format <?=$this->record($this->driver)->getFormatClass($format) ?>"><?=$this->transEsc($format) ?></span> 
  <?//=!empty($summAuthor) ? '<br />' : ''?>
  <?=$c-- > 1 ? '<br />' : '' ?> 
<?php endforeach; ?>
