Experimental "Metric on/off option for dashboard and Ajax".

You can try it on my site right now.
http://www.642weather.com/weather/index.php

On the left menu is the "Style Selector", you will see a new on/off radio button for "Use Metric"
It sets a cookie, so if you leave the site and come back it remembers the setting.
It changes the temps switch from "F to C", rain from "in to mm", wind from "mph to km/h", and baro from "in to hPa".

I made the Ajax read the cookie I set called "UseMetricUnits" 

Backup your files before you change anything!
I (mchallis) do not provide support for this!

read these two threads:

http://www.weather-watch.com/smf/index.php/topic,35561.0.html

http://www.weather-watch.com/smf/index.php/topic,39769.0.html


Note: my site is similar to, but not eactly like, the saratoga carterlake php site temaplte.


The files contained here are the ones I had to modify.

If you attemp adding this feature to your dashboard, 
be aware that you cannot just drop in my files and go, 
you will need to study the changes I made by comparing these files 
with your files using winmerge or beyond compare.
This will not be easy. You need expert PHP skills.
I have mADE OTHER MODS TO MY SITE AND YOU DO NOT WANT TO MESS UP YOUR SITE.
Backup your files before you change anything!
I (mchallis) do not provide support for this!

I do not use  ajax-dashboard.php, instead the code is inside my index.php
You will need to change your ajax-dashboard.php, when you do that look in my index.php to see what you need to change.









