Replace _ in timezone setting with a space

remotes/origin/stable
Bart Visscher 14 years ago
parent c28f1e0276
commit 4786ed321e
  1. 2
      apps/calendar/templates/settings.php

@ -25,7 +25,7 @@ OC_UTIL::addStyle('', 'jquery.multiselect');
if ($continent!="") echo '</optgroup>';
echo '<optgroup label="'.$ex[0].'">';
endif;
$city=$ex[1];
$city=strtr($ex[1], '_', ' ');
$continent=$ex[0];
echo '<option value="'.$timezone.'"'.($_['timezone'] == $timezone?' selected="selected"':'').'>'.$city.'</option>';
endforeach;?>

Loading…
Cancel
Save