diff options
Diffstat (limited to 'web/index.php')
-rw-r--r-- | web/index.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/web/index.php b/web/index.php index 181d07b..1fd4d7d 100644 --- a/web/index.php +++ b/web/index.php @@ -3,10 +3,9 @@ $timezones = array(); $zonetab = file(ZONETAB); - foreach ($zonetab as $buf) - { - if (substr($buf,0,1)=='#') continue; - $rec = preg_split('/\s+/',$buf); + foreach ($zonetab as $buf) { + if (substr($buf, 0, 1)=='#') continue; + $rec = preg_split('/\s+/', $buf); $key = $rec[2]; $val = $rec[2]; $c = count($rec); @@ -15,8 +14,7 @@ ksort($timezones); } $timezoneOption = ""; - foreach ($timezones as $timezone => $description) - { + foreach ($timezones as $timezone => $description) { $timezoneOption .= "<option>".$timezone."</option>\n"; } ?> |