Code Duplication    Length = 8-8 lines in 6 locations

admin.php 6 locations

@@ 794-801 (lines=8) @@
791
								</a>
792
							</td>
793
							<td class="text-right flip">
794
								<?php if ($changes[$tree->getTreeId()]): ?>
795
								<a onclick="window.open('edit_changes.php', '_blank', chan_window_specs); return false;" href="#">
796
									<?php echo I18N::number($changes[$tree->getTreeId()]); ?>
797
									<span class="sr-only"><?php echo I18N::translate('Pending changes'); ?> <?php echo $tree->getTitleHtml(); ?></span>
798
								</a>
799
								<?php else: ?>
800
								-
801
								<?php endif; ?>
802
							</td>
803
							<td class="text-right flip">
804
								<?php if ($individuals[$tree->getTreeId()]): ?>
@@ 804-811 (lines=8) @@
801
								<?php endif; ?>
802
							</td>
803
							<td class="text-right flip">
804
								<?php if ($individuals[$tree->getTreeId()]): ?>
805
								<a href="indilist.php?ged=<?php echo $tree->getNameUrl(); ?>">
806
									<?php echo I18N::number($individuals[$tree->getTreeId()]); ?>
807
									<span class="sr-only"><?php echo I18N::translate('Individuals'); ?> <?php echo $tree->getTitleHtml(); ?></span>
808
								</a>
809
								<?php else: ?>
810
									-
811
								<?php endif; ?>
812
								</td>
813
							<td class="text-right flip">
814
								<?php if ($families[$tree->getTreeId()]): ?>
@@ 814-821 (lines=8) @@
811
								<?php endif; ?>
812
								</td>
813
							<td class="text-right flip">
814
								<?php if ($families[$tree->getTreeId()]): ?>
815
								<a href="famlist.php?ged=<?php echo $tree->getNameUrl(); ?>">
816
									<?php echo I18N::number($families[$tree->getTreeId()]); ?>
817
									<span class="sr-only"><?php echo I18N::translate('Families'); ?> <?php echo $tree->getTitleHtml(); ?></span>
818
								</a>
819
								<?php else: ?>
820
								-
821
								<?php endif; ?>
822
								</td>
823
							<td class="text-right flip">
824
								<?php if ($sources[$tree->getTreeId()]): ?>
@@ 824-831 (lines=8) @@
821
								<?php endif; ?>
822
								</td>
823
							<td class="text-right flip">
824
								<?php if ($sources[$tree->getTreeId()]): ?>
825
								<a href="sourcelist.php?ged=<?php echo $tree->getNameUrl(); ?>">
826
									<?php echo I18N::number($sources[$tree->getTreeId()]); ?>
827
									<span class="sr-only"><?php echo I18N::translate('Sources'); ?> <?php echo $tree->getTitleHtml(); ?></span>
828
								</a>
829
								<?php else: ?>
830
								-
831
								<?php endif; ?>
832
							</td>
833
							<td class="text-right flip">
834
								<?php if ($repositories[$tree->getTreeId()]): ?>
@@ 834-841 (lines=8) @@
831
								<?php endif; ?>
832
							</td>
833
							<td class="text-right flip">
834
								<?php if ($repositories[$tree->getTreeId()]): ?>
835
								<a href="repolist.php?ged=<?php echo $tree->getNameUrl(); ?>">
836
									<?php echo I18N::number($repositories[$tree->getTreeId()]); ?>
837
									<span class="sr-only"><?php echo I18N::translate('Repositories'); ?> <?php echo $tree->getTitleHtml(); ?></span>
838
								</a>
839
								<?php else: ?>
840
									-
841
								<?php endif; ?>
842
							</td>
843
							<td class="text-right flip">
844
								<?php if ($media[$tree->getTreeId()]): ?>
@@ 844-851 (lines=8) @@
841
								<?php endif; ?>
842
							</td>
843
							<td class="text-right flip">
844
								<?php if ($media[$tree->getTreeId()]): ?>
845
								<a href="medialist.php?ged=<?php echo $tree->getNameUrl(); ?>">
846
									<?php echo I18N::number($media[$tree->getTreeId()]); ?>
847
									<span class="sr-only"><?php echo I18N::translate('Media objects'); ?> <?php echo $tree->getTitleHtml(); ?></span>
848
								</a>
849
								<?php else: ?>
850
								-
851
								<?php endif; ?>
852
							</td>
853
						</tr>
854
						<?php endforeach; ?>