From 3f2dbcc5008eb4639613038869dd84a74adfe950 Mon Sep 17 00:00:00 2001 From: oricgn Date: Wed, 5 Aug 2015 14:22:44 +0200 Subject: [PATCH 1/4] Correcting handling for https; new german language files --- google_maps/Changelog | 20 +++++++---- google_maps/info.txt | 2 +- .../german-informal-female.iso-8859-1.php | 16 +++++++++ .../lang/german-informal-female.utf-8.php | 16 +++++++++ .../lang/german-informal-male.iso-8859-1.php | 18 ++++++++++ .../lang/german-informal-male.utf-8.php | 18 ++++++++++ google_maps/lang/german.iso-8859-1.php | 31 +++++++++++++++++ google_maps/lang/german.php | 34 ------------------- google_maps/lang/german.utf-8.php | 31 +++++++++++++++++ google_maps/lang/german_du.php | 34 ------------------- google_maps/maptool/mapframe.php | 22 ++++++------ 11 files changed, 156 insertions(+), 86 deletions(-) create mode 100644 google_maps/lang/german-informal-female.iso-8859-1.php create mode 100644 google_maps/lang/german-informal-female.utf-8.php create mode 100644 google_maps/lang/german-informal-male.iso-8859-1.php create mode 100644 google_maps/lang/german-informal-male.utf-8.php create mode 100644 google_maps/lang/german.iso-8859-1.php delete mode 100644 google_maps/lang/german.php create mode 100644 google_maps/lang/german.utf-8.php delete mode 100644 google_maps/lang/german_du.php diff --git a/google_maps/Changelog b/google_maps/Changelog index c35e335..ba58fbb 100644 --- a/google_maps/Changelog +++ b/google_maps/Changelog @@ -1,6 +1,14 @@ Changelog: ---------- +2015-08-05 v2.0.6 (Oliver Riesen) + + - Correct handling of http/https in javascript links to Google. + + - Escaping ampersand in URL. + + - Language files from German Language Files Package added. + 2011-04-11 v2.0.5 (Maurice Makaay) - Restored the functionality of searching for the user's location @@ -14,7 +22,7 @@ Changelog: customized module template. - Fixed the usermap addon for MSIE8 and before. The markers did not - show up due to a javascript issue. + show up due to a javascript issue. 2011-04-01 v2.0.4 (Maurice Makaay) @@ -72,9 +80,9 @@ Changelog: 2010-10-20 v1.2.0 (Thomas Seifert) - - Added retrieving the city and country of the user on saving their - position. This makes it possible to show the city and/or country - e.g. on the read page. + - Added retrieving the city and country of the user on saving their + position. This makes it possible to show the city and/or country + e.g. on the read page. (requires json_decode and a way to do remote access) - Dropped support for the (ancient) Real Names module for Phorum 5.1. @@ -209,10 +217,10 @@ Changelog: - If a user saved some profile data on another control center page than the page on which the Google map was, then the location info would get lost. This bug is now fixed. - Thanks to Bert Körn for reporting this problem. + Thanks to Bert Körn for reporting this problem. - Added language support (german_du.php). - Also thanks to Bert Körn for this one. + Also thanks to Bert Körn for this one. - Changed Stammgast -> Benutzer in the German language file and created a german_sie.php based on german_du.php. diff --git a/google_maps/info.txt b/google_maps/info.txt index 04e66d5..5ac5f25 100644 --- a/google_maps/info.txt +++ b/google_maps/info.txt @@ -1,6 +1,6 @@ title: Google Maps desc: This module implements Google Maps functionality in the user profile. The user can indicate in the control center where he/she lives and this location can be displayed to others on the profile viewing screen. -version: 2.0.5 +version: 2.0.6 require_version: 5.2.16 author: Maurice Makaay link: http://www.phorum.org/phorum5/read.php?16,119681 diff --git a/google_maps/lang/german-informal-female.iso-8859-1.php b/google_maps/lang/german-informal-female.iso-8859-1.php new file mode 100644 index 0000000..5dfc96d --- /dev/null +++ b/google_maps/lang/german-informal-female.iso-8859-1.php @@ -0,0 +1,16 @@ + diff --git a/google_maps/lang/german-informal-female.utf-8.php b/google_maps/lang/german-informal-female.utf-8.php new file mode 100644 index 0000000..5dfc96d --- /dev/null +++ b/google_maps/lang/german-informal-female.utf-8.php @@ -0,0 +1,16 @@ + diff --git a/google_maps/lang/german-informal-male.iso-8859-1.php b/google_maps/lang/german-informal-male.iso-8859-1.php new file mode 100644 index 0000000..b338766 --- /dev/null +++ b/google_maps/lang/german-informal-male.iso-8859-1.php @@ -0,0 +1,18 @@ + diff --git a/google_maps/lang/german-informal-male.utf-8.php b/google_maps/lang/german-informal-male.utf-8.php new file mode 100644 index 0000000..db70491 --- /dev/null +++ b/google_maps/lang/german-informal-male.utf-8.php @@ -0,0 +1,18 @@ + diff --git a/google_maps/lang/german.iso-8859-1.php b/google_maps/lang/german.iso-8859-1.php new file mode 100644 index 0000000..b4ca0ce --- /dev/null +++ b/google_maps/lang/german.iso-8859-1.php @@ -0,0 +1,31 @@ + 'Sie können in der Karte Ihren Standort (Wohnort) markieren. Die Markierung können Sie mit einem Doppelklick setzen und mit der Maus verschieben. Alternativ können Sie auch die Suche benutzen.', + 'CCMenuItem' => 'Standort', + 'Clear' => 'Standort löschen', + 'GetMyLocation' => 'Meinen aktuellen Standort verwenden', + 'IncompatibleBrowser' => 'Entschuldigen Sie, Ihr Browser ist inkompatibel. Die für Google Maps benötigten Funktionen fehlen.', + 'Location' => 'Standort', + 'NoLocationSet' => 'Kein Standort ausgewählt.', + 'NoSearchResults' => 'Entschuldigen Sie, es wurde kein Ergebnis für Ihre Suchanfrage gefunden.', + 'ProfileTitle' => 'Standort dieses Teilnehmers:', + 'Search' => 'Standort suchen', + 'YourLocation' => 'Ihr Standort', + // usermap addon + 'UserMapTitle' => 'Standorte unserer Teilnehmer', + 'UserMapNoUsers' => 'Leider sind noch keine Standorte vorhanden.', + // Language for reverse geocoding (retrieving the name of the city) + 'geocoding_lang' => 'de' +); + +?> diff --git a/google_maps/lang/german.php b/google_maps/lang/german.php deleted file mode 100644 index 1bd7bc0..0000000 --- a/google_maps/lang/german.php +++ /dev/null @@ -1,34 +0,0 @@ - "Ihr Standort:", - "CCMenuItem" => "Standort", - "CCIntroduction" => "Sie können in der Karte unten Ihren " . - "Standort auswählen an dem Sie wohnen. " . - "Die Markierung können Sie mit einem " . - "Doppelklick platzieren und mit der Maus " . - "verschieben. Alternativ können Sie die " . - "Suche benutzen. Siehe Hilfe.
" . - "Beispiel: \"Platz der Republik 1, " . - "11011 Berlin, Germany\"", - "Search" => "Standort suchen", - "Clear" => "Standort löschen", - "GetMyLocation" => "Meinen Standort verwenden", - "Location" => "Standort", - "NoLocationSet" => "Kein Standort ausgewählt", - "IncompatibleBrowser" => "Sorry, Ihr Browser ist inkompatibel." . - "Die benötigten Funktionen fehlen " . - "für Google Maps.", - "NoSearchResults" => "Sorry, es wurden keine Ergebnisse für " . - "Ihre Suchanfrage gefunden.", - "ProfileTitle" => "Standort dieses Benutzers:", - - // usermap addon - "UserMapTitle" => "Standorte unserer Benutzer", - "UserMapNoUsers" => "Leider sind noch keine Standorte vorhanden", - - // Language for reverse geocoding (retrieving the name of the city) - "geocoding_lang" => "de" -); -?> diff --git a/google_maps/lang/german.utf-8.php b/google_maps/lang/german.utf-8.php new file mode 100644 index 0000000..76e2bd8 --- /dev/null +++ b/google_maps/lang/german.utf-8.php @@ -0,0 +1,31 @@ + 'Sie können in der Karte Ihren Standort (Wohnort) markieren. Die Markierung können Sie mit einem Doppelklick setzen und mit der Maus verschieben. Alternativ können Sie auch die Suche benutzen.', + 'CCMenuItem' => 'Standort', + 'Clear' => 'Standort löschen', + 'GetMyLocation' => 'Meinen aktuellen Standort verwenden', + 'IncompatibleBrowser' => 'Entschuldigen Sie, Ihr Browser ist inkompatibel. Die für Google Maps benötigten Funktionen fehlen.', + 'Location' => 'Standort', + 'NoLocationSet' => 'Kein Standort ausgewählt.', + 'NoSearchResults' => 'Entschuldigen Sie, es wurde kein Ergebnis für Ihre Suchanfrage gefunden.', + 'ProfileTitle' => 'Standort dieses Teilnehmers:', + 'Search' => 'Standort suchen', + 'YourLocation' => 'Ihr Standort', + // usermap addon + 'UserMapTitle' => 'Standorte unserer Teilnehmer', + 'UserMapNoUsers' => 'Leider sind noch keine Standorte vorhanden.', + // Language for reverse geocoding (retrieving the name of the city) + 'geocoding_lang' => 'de' +); + +?> diff --git a/google_maps/lang/german_du.php b/google_maps/lang/german_du.php deleted file mode 100644 index 8fbfe35..0000000 --- a/google_maps/lang/german_du.php +++ /dev/null @@ -1,34 +0,0 @@ - "Dein Standort:", - "CCMenuItem" => "Standort", - "CCIntroduction" => "Du kannst in der Karte unten Deinen Standort " . - "auswählen an dem Du wohnst. Die " . - "Markierung kannst Du mit einem Doppelklick " . - "platzieren und mit der Maus verschieben. " . - "Alternativ kannst Du die Suche benutzen. " . - "Siehe Hilfe.
" . - "Beispiel: \"Platz der Republik 1, " . - "11011 Berlin, Germany\"", - "Search" => "Standort suchen", - "Clear" => "Standort löschen", - "GetMyLocation" => "Meinen Standort verwenden", - "Location" => "Standort", - "NoLocationSet" => "Kein Standort ausgewählt", - "IncompatibleBrowser" => "Sorry, Dein Browser ist inkompatibel " . - "die benötigten Funktionen fehlen " . - "für Google Maps.", - "NoSearchResults" => "Sorry, es wurden keine Ergebnisse für " . - "Deine Suchanfrage gefunden.", - "ProfileTitle" => "Standort dieses Benutzers:", - - // usermap addon - "UserMapTitle" => "Standorte unserer Benutzer", - "UserMapNoUsers" => "Leider sind noch keine Standorte vorhanden", - - // Language for reverse geocoding (retrieving the name of the city) - "geocoding_lang" => "de" -); -?> diff --git a/google_maps/maptool/mapframe.php b/google_maps/maptool/mapframe.php index 554cf67..704d738 100644 --- a/google_maps/maptool/mapframe.php +++ b/google_maps/maptool/mapframe.php @@ -66,7 +66,7 @@ #map { height: 100%; width: 100%; } Google Map interface - +