Code Duplication    Length = 3-3 lines in 3 locations

airport-data.php 1 location

@@ 96-98 (lines=3) @@
93
    if (isset($metar_parse['visibility'])) {
94
        print _("Visibility:").' '.$metar_parse['visibility'].' m'."<br/>";
95
    }
96
    if (isset($metar_parse['weather'])) {
97
        print _("Weather:").' '.$metar_parse['weather']."<br/>";
98
    }
99
    if (isset($metar_parse['temperature'])) {
100
        print _("Temperature:").' '.$metar_parse['temperature'].' °C'."<br/>";
101
    }

airport-detailed.php 1 location

@@ 146-148 (lines=3) @@
143
				if (isset($metar_parse['visibility'])) {
144
					print _("Visibility:").' '.$metar_parse['visibility'].' m'." - ";
145
				}
146
				if (isset($metar_parse['weather'])) {
147
					print _("Weather:").' '.$metar_parse['weather']." - ";
148
				}
149
				if (isset($metar_parse['temperature'])) {
150
					print _("Temperature:").' '.$metar_parse['temperature'].' °C'." - ";
151
				}

tools-metar.php 1 location

@@ 56-58 (lines=3) @@
53
		if (isset($metar_parse['visibility'])) {
54
			print '<b>'._("Visibility:").'</b> '.$metar_parse['visibility'].' m'." ";
55
		}
56
		if (isset($metar_parse['weather'])) {
57
			print '<b>'._("Weather:").'</b> '.$metar_parse['weather']." ";
58
		}
59
		if (isset($metar_parse['cloud'])) {
60
			print '<b>'._("Cloud:").'</b> ';
61
			foreach ($metar_parse['cloud'] as $key => $cloud) {