Code Duplication    Length = 11-12 lines in 2 locations

pages/home.page.php 2 locations

@@ 34-44 (lines=11) @@
31
	</div>
32
33
	<?php
34
    if (true === !$config->system->no_lures) {
35
        ?>
36
		<div class="flex-item-homepage big-data"> <!-- POKESTOPS -->
37
			<a href="pokestops">
38
				<img src="core/img/lure-module.png" alt="Discover the <?= $config->infos->site_name; ?> Pokéstops" width=50 class="big-icon">
39
				<p><big><strong class="total-lure-js">0</strong> <?= $locales->LURES; ?></big><br>
40
                    <?= sprintf($locales->WIDGET_LURES_SUB, $config->infos->city); ?></p>
41
			</a>
42
		</div>
43
		<?php
44
    }
45
    if (true === $config->system->homepage_raids) {
46
        ?>
47
		<div class="flex-item-homepage flex-item-homepage-homepage big-data"> <!-- RAIDS -->
@@ 45-56 (lines=12) @@
42
		</div>
43
		<?php
44
    }
45
    if (true === $config->system->homepage_raids) {
46
        ?>
47
		<div class="flex-item-homepage flex-item-homepage-homepage big-data"> <!-- RAIDS -->
48
			<a href="raids">
49
				<img src="core/img/raid.png" alt="Discover the <?= $config->infos->site_name; ?> Raids" width=50
50
                     class="big-icon">
51
				<p><big><strong class="total-raids-js">0</strong> <?= $locales->RAIDS; ?></big><br>
52
                    <?= sprintf($locales->WIDGET_LURES_SUB, $config->infos->city); ?></p>
53
			</a>
54
		</div>
55
		<?php
56
    }
57
    ?>
58
59
	<div class="flex-item-homepage big-data">