Ticket #3406: hosts-patch
File hosts-patch, 492 bytes (added by , 18 years ago) |
---|
Line | |
---|---|
1 | --- old/weather.php 2006-12-19 02:17:33.000000000 -0600 |
2 | +++ new/weather.php 2007-05-04 09:05:15.000000000 -0500 |
3 | @@ -26,7 +26,9 @@ |
4 | ?> |
5 | <div class="weather_site"> |
6 | <p class="host"><?php |
7 | - echo tn('Host', 'Hosts', count($site->hosts)), ': ', |
8 | + if(count($site->hosts)== 1) echo 'Host', ': ', |
9 | + implode(', ', $site->hosts); |
10 | + if(count($site->hosts)> 1) echo 'Hosts', ': ', |
11 | implode(', ', $site->hosts); |
12 | ?></p> |
13 | <p class="location"><?php |