Showing with 2 additions and 1 deletion.
  1. +1 −0 funzioni.php
  2. +1 −1 mappa/generator.php
1 change: 1 addition & 0 deletions funzioni.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function lugheader ($title, $extracss = null, $extrajs = null) {
<a class="generalink" href="/mappa/">Mappa</a>
<?php endif; ?>
<?php if (is_writable ('data') == true || is_writable ('../data')): ?>
<a class="generalink" href="/eventi/">Eventi</a>
<a class="generalink" href="/radar/">Radar</a>
<?php endif; ?>
<a class="generalink" href="/partecipa/">Partecipa</a>
Expand Down
2 changes: 1 addition & 1 deletion mappa/generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function shift_city ($city, $lon, $found_cities) {
*/
$occurrences = howMany ($city, $found_cities);
if ($occurrences != 0)
$lon = $lon + (3000 * $occurrences);
$lon = $lon + (0.001 * $occurrences);

return $lon;
}
Expand Down