aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 35e83eb5..38958a79 100644
--- a/index.php
+++ b/index.php
@@ -2167,13 +2167,13 @@ function templateTZform($ptz=false)
2167 $continent=substr($tz,0,$spos); $city=substr($tz,$spos+1); 2167 $continent=substr($tz,0,$spos); $city=substr($tz,$spos+1);
2168 $continents[$continent]=1; 2168 $continents[$continent]=1;
2169 if (!isset($cities[$continent])) $cities[$continent]=''; 2169 if (!isset($cities[$continent])) $cities[$continent]='';
2170 $cities[$continent].='<option value="'.$city.'"'.($pcity==$city?'selected':'').'>'.$city.'</option>'; 2170 $cities[$continent].='<option value="'.$city.'"'.($pcity==$city?' selected':'').'>'.$city.'</option>';
2171 } 2171 }
2172 } 2172 }
2173 $continents_html = ''; 2173 $continents_html = '';
2174 $continents = array_keys($continents); 2174 $continents = array_keys($continents);
2175 foreach($continents as $continent) 2175 foreach($continents as $continent)
2176 $continents_html.='<option value="'.$continent.'"'.($pcontinent==$continent?'selected':'').'>'.$continent.'</option>'; 2176 $continents_html.='<option value="'.$continent.'"'.($pcontinent==$continent?' selected':'').'>'.$continent.'</option>';
2177 $cities_html = $cities[$pcontinent]; 2177 $cities_html = $cities[$pcontinent];
2178 $timezone_form = "Continent: <select name=\"continent\" id=\"continent\" onChange=\"onChangecontinent();\">${continents_html}</select>"; 2178 $timezone_form = "Continent: <select name=\"continent\" id=\"continent\" onChange=\"onChangecontinent();\">${continents_html}</select>";
2179 $timezone_form .= "&nbsp;&nbsp;&nbsp;&nbsp;City: <select name=\"city\" id=\"city\">${cities[$pcontinent]}</select><br />"; 2179 $timezone_form .= "&nbsp;&nbsp;&nbsp;&nbsp;City: <select name=\"city\" id=\"city\">${cities[$pcontinent]}</select><br />";