Showing with 14 additions and 95 deletions.
  1. +7 −0 utils.php → funzioni.php
  2. +2 −2 index.php
  3. +0 −17 lug-list.php
  4. +1 −1 lug-o-matic/index.php
  5. +1 −1 lug-stats.phtml
  6. +0 −72 lugMapListView.php
  7. +2 −1 regione.php
  8. +1 −1 lug-stats.php → statistiche.php
7 changes: 7 additions & 0 deletions utils.php → funzioni.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,11 @@ function lugfooter () {
<?php
}

function ultimo_aggiornamento () {
?>
<a id="csvLink" href="http://github.com/Gelma/LugMap/commits/lugmap.linux.it">&raquo;Ultimo aggiornamento</a>

<?php
}

?>
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once ('utils.php');
require_once ('funzioni.php');
lugheader ('Mappa dei Linux User Group italiani', 'Italian Linux Society');

?>
Expand All @@ -24,7 +24,7 @@

<div>
Sono inoltre disponibile <a href="/regione.php">l'elenco completo di tutti i
LUG</a> ordinati per provincia, una pagina dedicata alle <a href="lug-stats.php">statistiche</a>,
LUG</a> ordinati per provincia, una pagina dedicata alle <a href="/statistiche.php">statistiche</a>,
ed un <a href="lug-o-matic">widget web</a> da includere sul tuo sito.
</div>
</td>
Expand Down
17 changes: 0 additions & 17 deletions lug-list.php

This file was deleted.

2 changes: 1 addition & 1 deletion lug-o-matic/index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

require_once ('utils.php');
require_once ('../utils.php');
require_once ('../funzioni.php');

if (isset ($_GET ['region'])) {
require_once ('widget.php');
Expand Down
2 changes: 1 addition & 1 deletion lug-stats.phtml
72 changes: 0 additions & 72 deletions lugMapListView.php

This file was deleted.

3 changes: 2 additions & 1 deletion regione.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once ('utils.php');
require_once ('funzioni.php');

# parsing della richiesta per individuare
if (isset ($_REQUEST["reg"])) {
Expand Down Expand Up @@ -68,6 +68,7 @@

<?php if ($db_file != null) { ?>
<a id="csvLink" href="db/<?php echo $db_file ?>.txt">&raquo; Elenco in formato CSV</a>
<?php ultimo_aggiornamento(); ?>
<?php } else { ?>
<br />
<?php } ?>
Expand Down
2 changes: 1 addition & 1 deletion lug-stats.php → statistiche.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

require_once ('utils.php');
require_once ('funzioni.php');

function do_row ($nriga, $region, $tot, $perc) {
global $elenco_regioni;
Expand Down