Hi Murry.
Thank You for good job!
I have few proposals/solutions for the next versions.
1.) Translation support and remove redundant zeroes
Key features:
- language translation for all Detail/Summary templates in one file
- auto/manual language switch for Multilingual Saratoga Carterlake Templates
- removed zeros. eq output 01.8 is now 1.8
See attachment (now only for raindetail; language file: en, cs).
New things are written in comment marked as ###.
New variables begining $T (eq $Tlang)
2.) Furthermore,it might be better to move the Stats switch on the right. Looks better.
Just maybe...
See:
http://pocasi.hovnet.cz/wxtempdetail.php (web is actually only in Czech language ... sorry)
Html details in my page:
<!-- insert this code before div gettempdtbxfloat -->
<div class="statbxfloat">
<div class="statdtbx">
Zvolte jinou statistiku:<br>
<form method="get" action="wxsnowdetail.php">
<input type="submit" value="Sníh">
</form>
<form method="get" action="wxraindetail.php">
<input type="submit" value="Déť">
</form>
<form method="get" action="wxwinddetail.php">
<input type="submit" value="Vítr">
</form>
</div>
</div> <!-- end of stats switch -->
CSS details in my page:
.statdtbx {
font-size:80%;
font-weight:bold;
padding:0;
text-align:center;
}
.statbxfloat {
background-color:#3173B1;
border:1px ridge #22464F;
color:#FFFFFF;
float:right;
padding:0 5px;
}
3.) image in CSS class noday for better look
background-image:url("./noday.png");
eq
http://pocasi.hovnet.cz/wxtempdetail.php where empty days are hatched
4.) Sorry for my english