[GRASSweb-list] stephan: web/devel i18n_stats.inc,1.15,1.16
grass at intevation.de
grass at intevation.de
Mon May 29 08:44:08 EDT 2006
- Previous message: [GRASSweb-list] hamish: web/download software.inc,1.46,1.47
- Next message: [GRASSweb-list] markus: web/grass61/screenshots/images
global_rad_noshadow_trento_srtmV2.png, 1.1,
NONE global_rad_noshadow_trento_srtmV2_small.jpg, 1.1,
NONE global_shadow_rad_shadow_corrected_trento_srtmV2.png, 1.1,
NONE global_shadow_rad_shadow_corrected_trento_srtmV2_small.jpg,
1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: stephan
Update of /grassrepository/web/devel
In directory doto:/tmp/cvs-serv25671
Modified Files:
i18n_stats.inc
Log Message:
+ small fix concerning array-declaration
Index: i18n_stats.inc
===================================================================
RCS file: /grassrepository/web/devel/i18n_stats.inc,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- i18n_stats.inc 19 May 2006 18:46:16 -0000 1.15
+++ i18n_stats.inc 29 May 2006 12:44:06 -0000 1.16
@@ -1,4 +1,6 @@
<?php
+
+error_reporting(E_ALL ^ E_NOTICE);
// i18n_stats.php - 2005 Stephan Holl, http://www.GDF-Hannover.de
//------------------------------------------------------------------------
@@ -15,6 +17,7 @@
// extract the relevant columns
$array_iso2 = array(); /*iso-kuerzel*/
$array_iso3 = array(); /*Klartext-name*/
+ $array_iso1 = array();
foreach($array_iso as $id => $value) {
$array_iso1 = explode("\"", $value);
// neue arrays schreiben
@@ -22,7 +25,9 @@
array_push($array_iso3, $array_iso1[1]);
}
foreach($array_iso2 as $key => $value) {
+// echo $key . " ";
$new[$array_iso2[$key]] .= $array_iso3[$key];
+
}
?>
<P>
@@ -76,6 +81,8 @@
$file_libs="../grass61/binary/linux/snapshot/i18n_stats_libs.txt";
$file_mods="../grass61/binary/linux/snapshot/i18n_stats_mods.txt";
$file_tcl="../grass61/binary/linux/snapshot/i18n_stats_tcl.txt";
+// $file_libs="/tmp/i18n_stats_libs.txt";
+// $file_mods="/tmp/i18n_stats_mods.txt";
?>
- Previous message: [GRASSweb-list] hamish: web/download software.inc,1.46,1.47
- Next message: [GRASSweb-list] markus: web/grass61/screenshots/images
global_rad_noshadow_trento_srtmV2.png, 1.1,
NONE global_rad_noshadow_trento_srtmV2_small.jpg, 1.1,
NONE global_shadow_rad_shadow_corrected_trento_srtmV2.png, 1.1,
NONE global_shadow_rad_shadow_corrected_trento_srtmV2_small.jpg,
1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the grass-web
mailing list