All seems to be working fine and looks good.
The last thing that I need a little help with is I have a. 'Extra Temp 2' sensor, which I use for grass minimum.
Old version:
http://www.weatherlink.com/user/keithharris1960/index.php?view=summary&headers=1
Just want to be sure I am changing/adding the correct bits.
$wl_is_t_extra1 = false; // extra temp 1 set to true or false
$wl_is_t_extra2 = false; // add more lines if you have more then 2, max = 7
extra2 = true?
Then I'm a bit lost as I imagine I need to add another array or two lower down.
Many thanks
Keith (Southend)
You only have extra temp 2, so there is already a line for that sensor. As from a previous post
line 50 => as you have extra temp it must be changed to true
so change that line 50 from
$wl_is_t_extra2 = false; // add more lines if you have more then 2, max = 7
to
$wl_is_t_extra2 = true; // add more lines if you have more then 2, max = 7
After you tested it and all is OK, we need to change the default description "Extra Temp2" to the description
you want.
We do that by using the built-in translate code and adding for the English language the needed translation:
As the de fault english words need no translation, line 793 now reads
elseif ($wl_lang == 'en') {$string = '';}
Change that line tho these lines
elseif ($wl_lang == 'en') {$string = '
langlookup|Extra Temp2|Grass minimum|
';}
Every translation line you want to add should contain three parts divided by the | character..
The second part is the string to translate.
The translation is the third part. I used
Grass minimum in the example.
Wim