Update of /cvsroot/phpweather/phpweather/output
In directory usw-pr-cvs1:/tmp/cvs-serv23291
Modified Files:
pw_text.php pw_text_en.php
Log Message:
Let's just wait a little with this table-thing...
Index: pw_text.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- pw_text.php 17 Mar 2002 13:39:04 -0000 1.1
+++ pw_text.php 18 Mar 2002 16:14:31 -0000 1.2
@@ -1101,6 +1101,8 @@
function print_table() {
// We use our own weather-object.
$data = $this->weather->decode_metar();
+
+ /* This doesn't work yet...
$location = $data['location'];
@@ -1114,8 +1116,6 @@
$humidity = $this->print_pretty_rel_humidity($data['rel_humidity']);
- /* The table-heading ought to be translated. */
-
if ($this->properties['orientation'] == 'vertical') {
} else {
@@ -1140,6 +1140,9 @@
";
}
+
+ */
+
}
}
Index: pw_text_en.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/output/pw_text_en.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- pw_text_en.php 17 Mar 2002 13:39:04 -0000 1.1
+++ pw_text_en.php 18 Mar 2002 16:14:31 -0000 1.2
@@ -165,12 +165,6 @@
$this->strings['runway_visibility'] = 'The visibility was ';
$this->strings['runway_for_runway'] = ' for runway ';
- $this->strings['wind'] = 'Wind';
- $this->strings['date'] = 'Date';
- $this->strings['pressure'] = 'Air Pressure';
- $this->strings['humidity'] = 'Humidity';
- $this->strings['location'] = 'Location';
-
/* We run the parent constructor */
$this->pw_text($weather, $input);
}
|