diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-04-09 00:58:45 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-04-09 00:58:45 +0400 |
commit | dabd9da5f18d9094a7675c2877479bf0b0ad6cbe (patch) | |
tree | 196d7fceedeb35a8f996dc203d8591eef5abe9d6 /plugins/SitesManager | |
parent | 815e04f0044389a9723580cce873d9a0aa8f2f39 (diff) |
refs #56 - sort cities within each continent
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r-- | plugins/SitesManager/API.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/SitesManager/API.php b/plugins/SitesManager/API.php index ab8fb0fde3..176fe19292 100644 --- a/plugins/SitesManager/API.php +++ b/plugins/SitesManager/API.php @@ -733,7 +733,12 @@ class Piwik_SitesManager_API $city = str_replace('_', ' ', $city); $return[$continent][$timezone] = $city; } - + + foreach($continents as $continent) + { + ksort($return[$continent]); + } + $return['UTC'] = $this->getTimezonesListUTCOffsets(); return $return; } @@ -889,4 +894,3 @@ class Piwik_SitesManager_API return $urls; } } - |