[GRASS-SVN] r29530 - grass-web/trunk/devel
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 27 13:47:08 EST 2007
Author: neteler
Date: 2007-12-27 13:47:08 -0500 (Thu, 27 Dec 2007)
New Revision: 29530
Modified:
grass-web/trunk/devel/i18n_stats.inc
Log:
statistics date fix
Modified: grass-web/trunk/devel/i18n_stats.inc
===================================================================
--- grass-web/trunk/devel/i18n_stats.inc 2007-12-27 18:42:09 UTC (rev 29529)
+++ grass-web/trunk/devel/i18n_stats.inc 2007-12-27 18:47:08 UTC (rev 29530)
@@ -8,7 +8,8 @@
// function to create the tables
function generate_table($file) {
- $last_modified = filemtime($file);
+ //$last_modified = filemtime($file);
+ $last_modified = getlastmod($file);
// einlesen der Datei - read in data
$array = file($file);
@@ -71,10 +72,10 @@
?>
</table>
<br>
- This table is generated weekly -
+ This table is generated weekly.
<?php
// Generate timestamp (use h:ia for a.m./p.m. )
- print " - last update: " . date("l, dS F, Y @ H:i.", $last_modified);
+ //print " - last update: " . date("l, dS F, Y @ H:i.", $last_modified);
} // End of function generate_table()
//----------------------------------------------------------------
@@ -82,10 +83,10 @@
// $file = "../grass63/binary/linux/snapshot/i18n_stats.txt";
// Präprocessing: cat i18n_stats.txt|grep mod > out.mods
// Präprocessing: cat i18n_stats.txt|grep lib > out.libs
-// Pr�rocessing: cat i18n_stats.txt|gretcl > out.tcl
-#$file_libs="../grass63/binary/linux/snapshot/i18n_stats_libs.txt";
-#$file_mods="../grass63/binary/linux/snapshot/i18n_stats_mods.txt";
-#$file_tcl="../grass63/binary/linux/snapshot/i18n_stats_tcl.txt";
+// Präprocessing: cat i18n_stats.txt|gretcl > out.tcl
+//$file_libs="../grass63/binary/linux/snapshot/i18n_stats_libs.txt";
+//$file_mods="../grass63/binary/linux/snapshot/i18n_stats_mods.txt";
+//$file_tcl="../grass63/binary/linux/snapshot/i18n_stats_tcl.txt";
$file_libs="http://download.osgeo.org/grass/grass63/binary/linux/snapshot/i18n_stats_libs.txt";
$file_mods="http://download.osgeo.org/grass/grass63/binary/linux/snapshot/i18n_stats_mods.txt";
$file_tcl="http://download.osgeo.org/grass/grass63/binary/linux/snapshot/i18n_stats_tcl.txt";
More information about the grass-commit
mailing list