@@ -625,12 +625,15 @@ discard block |
||
| 625 | 625 | <a href="admin_site_upgrade.php" class="error"> |
| 626 | 626 | <?php echo /* I18N: %s is a version number */ I18N::translate('Upgrade to webtrees %s.', Filter::escapeHtml($latest_version)); ?> |
| 627 | 627 | </a> |
| 628 | - <?php else: ?> |
|
| 628 | + <?php else { |
|
| 629 | + : ?> |
|
| 629 | 630 | <span class="text-danger"> |
| 630 | 631 | webtrees 1.7 has reached end-of-life. |
| 631 | 632 | You should upgrade to webtrees 2. |
| 632 | 633 | </span> |
| 633 | - <?php endif; ?> |
|
| 634 | + <?php endif; |
|
| 635 | +} |
|
| 636 | +?> |
|
| 634 | 637 | </p> |
| 635 | 638 | <?php endif; ?> |
| 636 | 639 | </div> |
@@ -791,9 +794,12 @@ discard block |
||
| 791 | 794 | <?php echo I18N::number($changes[$tree->getTreeId()]); ?> |
| 792 | 795 | <span class="sr-only"><?php echo I18N::translate('Pending changes'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 793 | 796 | </a> |
| 794 | - <?php else: ?> |
|
| 797 | + <?php else { |
|
| 798 | + : ?> |
|
| 795 | 799 | - |
| 796 | - <?php endif; ?> |
|
| 800 | + <?php endif; |
|
| 801 | +} |
|
| 802 | +?> |
|
| 797 | 803 | </td> |
| 798 | 804 | <td class="text-right flip"> |
| 799 | 805 | <?php if ($individuals[$tree->getTreeId()]): ?> |
@@ -801,9 +807,12 @@ discard block |
||
| 801 | 807 | <?php echo I18N::number($individuals[$tree->getTreeId()]); ?> |
| 802 | 808 | <span class="sr-only"><?php echo I18N::translate('Individuals'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 803 | 809 | </a> |
| 804 | - <?php else: ?> |
|
| 810 | + <?php else { |
|
| 811 | + : ?> |
|
| 805 | 812 | - |
| 806 | - <?php endif; ?> |
|
| 813 | + <?php endif; |
|
| 814 | +} |
|
| 815 | +?> |
|
| 807 | 816 | </td> |
| 808 | 817 | <td class="text-right flip"> |
| 809 | 818 | <?php if ($families[$tree->getTreeId()]): ?> |
@@ -811,9 +820,12 @@ discard block |
||
| 811 | 820 | <?php echo I18N::number($families[$tree->getTreeId()]); ?> |
| 812 | 821 | <span class="sr-only"><?php echo I18N::translate('Families'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 813 | 822 | </a> |
| 814 | - <?php else: ?> |
|
| 823 | + <?php else { |
|
| 824 | + : ?> |
|
| 815 | 825 | - |
| 816 | - <?php endif; ?> |
|
| 826 | + <?php endif; |
|
| 827 | +} |
|
| 828 | +?> |
|
| 817 | 829 | </td> |
| 818 | 830 | <td class="text-right flip"> |
| 819 | 831 | <?php if ($sources[$tree->getTreeId()]): ?> |
@@ -821,9 +833,12 @@ discard block |
||
| 821 | 833 | <?php echo I18N::number($sources[$tree->getTreeId()]); ?> |
| 822 | 834 | <span class="sr-only"><?php echo I18N::translate('Sources'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 823 | 835 | </a> |
| 824 | - <?php else: ?> |
|
| 836 | + <?php else { |
|
| 837 | + : ?> |
|
| 825 | 838 | - |
| 826 | - <?php endif; ?> |
|
| 839 | + <?php endif; |
|
| 840 | +} |
|
| 841 | +?> |
|
| 827 | 842 | </td> |
| 828 | 843 | <td class="text-right flip"> |
| 829 | 844 | <?php if ($repositories[$tree->getTreeId()]): ?> |
@@ -831,9 +846,12 @@ discard block |
||
| 831 | 846 | <?php echo I18N::number($repositories[$tree->getTreeId()]); ?> |
| 832 | 847 | <span class="sr-only"><?php echo I18N::translate('Repositories'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 833 | 848 | </a> |
| 834 | - <?php else: ?> |
|
| 849 | + <?php else { |
|
| 850 | + : ?> |
|
| 835 | 851 | - |
| 836 | - <?php endif; ?> |
|
| 852 | + <?php endif; |
|
| 853 | +} |
|
| 854 | +?> |
|
| 837 | 855 | </td> |
| 838 | 856 | <td class="text-right flip"> |
| 839 | 857 | <?php if ($media[$tree->getTreeId()]): ?> |
@@ -841,9 +859,12 @@ discard block |
||
| 841 | 859 | <?php echo I18N::number($media[$tree->getTreeId()]); ?> |
| 842 | 860 | <span class="sr-only"><?php echo I18N::translate('Media objects'); ?> <?php echo $tree->getTitleHtml(); ?></span> |
| 843 | 861 | </a> |
| 844 | - <?php else: ?> |
|
| 862 | + <?php else { |
|
| 863 | + : ?> |
|
| 845 | 864 | - |
| 846 | - <?php endif; ?> |
|
| 865 | + <?php endif; |
|
| 866 | +} |
|
| 867 | +?> |
|
| 847 | 868 | </td> |
| 848 | 869 | </tr> |
| 849 | 870 | <?php endforeach; ?> |