1<?php if ($this->hasDuplicate): ?> 2<br class="clear" /> 3<?php endif; ?> 4<br /> 5<?php if (empty($this->duplicates)): ?> 6<h3> 7 <?php echo $this->h(_("No duplicates found.")) ?> 8</h3> 9<?php else: ?> 10<?php foreach ($this->duplicates as $field => $duplicates): ?> 11<h3><?php echo $this->h(sprintf(_("Duplicates of %s"), $this->attributes[$field]['label'])) ?></h3> 12<table class="horde-table horde-block-links sortable"> 13 <thead> 14 <tr> 15 <th><?php echo $this->h($this->attributes[$field]['label']) ?></th> 16 <th class="horde-split-left"><?php echo _("Count") ?></th> 17 </tr> 18 </thead> 19 <tbody> 20 <?php foreach ($duplicates as $value => $list): ?> 21 <tr> 22 <td><a href="<?php echo $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?php echo $this->h($value) ?></a></td> 23 <td><a href="<?php echo $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?php echo count($list) ?></a></td> 24 </tr> 25 <?php endforeach; ?> 26 </tbody> 27</table> 28<?php endforeach; ?> 29<?php endif; ?> 30