Log of /contributions/modules/country_code/country_code.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.93 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 12 14:41:59 2008 UTC
(12 months, 1 week ago)
by
snpower
Branch:
MAIN
Changes since
1.92: +45 -29 lines
Diff to
previous 1.92
Removed country_code_country_list() function - now using
site_country_country_list() function provided by site_country module.
Added in a hook_form_alter() on the system_site_settings form so we can update
the country_code_country table if a new site default country is set on
admin/settings/site-information.
Now preventing users from the deleting the last (and hence default) country -
both by removing the 'delete' link and by preventing the operation.
Revision
1.92 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Nov 4 20:29:54 2008 UTC
(12 months, 2 weeks ago)
by
snpower
Branch:
MAIN
Changes since
1.91: +5 -1 lines
Diff to
previous 1.91
Fix for country_code.inc and country_code.module file merge error - undefined
custom_url_rewrite_outbound() function error appeared when disabling the module.
Revision
1.86 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Oct 29 04:40:40 2008 UTC
(12 months, 3 weeks ago)
by
nedjo
Branch:
MAIN
Changes since
1.85: +56 -20 lines
Diff to
previous 1.85
Issue #326726. Fix language selection when switching countries and viewing a node with translations. New behaviour: the country switcher links to the determined best translation of the node. Then, when the new page loads, that node's language is set as the default language (provided it's valid for the country). Also, when there is a language in the session, refer to it to determine the best language to set for the new country. Retain the same base language. E.g., if switching from fr-CA to global, set the language to 'fr' (if fr is installed and enabled).
Revision
1.85 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 23:03:36 2008 UTC
(12 months, 3 weeks ago)
by
nedjo
Branch:
MAIN
Changes since
1.84: +9 -4 lines
Diff to
previous 1.84
First step toward detecting which language will be set when switching countries when we are viewing a node with translations.
Revision
1.75 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Oct 28 17:48:42 2008 UTC
(12 months, 3 weeks ago)
by
recidive
Branch:
MAIN
Changes since
1.74: +9 -21 lines
Diff to
previous 1.74
Changing _country_code_init_language() to always set language session var. If 'global', it will set to two digits language code.
Revision
1.66 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 24 10:55:33 2008 UTC
(13 months ago)
by
snpower
Branch:
MAIN
Changes since
1.65: +17 -4 lines
Diff to
previous 1.65
Fixed issue where if you deleted the default country, it could set a disabled
country to be the new default, even if there were enabled countries available.
Also, if no enabled countries available, it will use a disabled country, but
will also enable it.
Revision
1.48 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 21:17:03 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.47: +2 -2 lines
Diff to
previous 1.47
Make sure country_code() is availble before calling it. When loading languages of a country, don't require the country to be enabled.
Revision
1.44 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 17:53:01 2008 UTC
(13 months ago)
by
snpower
Branch:
MAIN
Changes since
1.43: +8 -3 lines
Diff to
previous 1.43
When user now updates their account settings, the country code in the session is
updated to their preferred country.
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 16:51:09 2008 UTC
(13 months ago)
by
snpower
Branch:
MAIN
Changes since
1.42: +4 -2 lines
Diff to
previous 1.42
Fixed issue with language switcher block when your country code is set to 'xx'.
It was including 'xx/' in the paths.
Revision
1.41 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 14:56:10 2008 UTC
(13 months ago)
by
snpower
Branch:
MAIN
Changes since
1.40: +17 -15 lines
Diff to
previous 1.40
Fix for drupal_get_path() not being defined when loading
country_code_country_list.inc Also fixed some whitespace issues.
Revision
1.39 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Oct 20 00:36:31 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.38: +32 -5 lines
Diff to
previous 1.38
Fix up initial views filter. This filter simply limits content by country. TODO: more powerful filter to show current country/language combination, e.g., 'en-CA' or, if there is no 'en-CA' translation, 'en'.
Revision
1.38 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sun Oct 19 18:53:00 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.37: +20 -9 lines
Diff to
previous 1.37
Issue #323364, return all languages for global country. Also add global option when selecting user's preferred country. Also set user's current country as default when selecting user's preferred country.
Revision
1.33 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 18 21:19:44 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.32: +23 -7 lines
Diff to
previous 1.32
Further work on issue #321626. Add configuration option to display/hide user language selection. If displayed and less than two languages are available for the user-selected country, hide.
Revision
1.32 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 18 19:54:24 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.31: +24 -4 lines
Diff to
previous 1.31
Further work on issue #321626, user selection of language. Roughed in form for user using browser language, issue #323021.
Revision
1.31 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 18 19:04:07 2008 UTC
(13 months ago)
by
nedjo
Branch:
MAIN
Changes since
1.30: +47 -21 lines
Diff to
previous 1.30
Issue #321626, user selection of default country. Includes fix to country_code_countries(), which was broken for = TRUE.
Revision
1.26 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Oct 18 01:58:03 2008 UTC
(13 months, 1 week ago)
by
nedjo
Branch:
MAIN
Changes since
1.25: +12 -22 lines
Diff to
previous 1.25
Further work on issue #311174. Use path prefix rather than GET variable to trigger country change. Fix active link in block. Improved hook_boot() handling of GET['q'].
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 17 23:08:28 2008 UTC
(13 months, 1 week ago)
by
nedjo
Branch:
MAIN
Changes since
1.21: +47 -17 lines
Diff to
previous 1.21
Issue #322852, fix language switching, and issue #322762, delete languages for country when deleting country. Also various minor cleanup and refinements, e.g., cache module_exists() results in custom url rewrite.
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 17 18:36:16 2008 UTC
(13 months, 1 week ago)
by
nedjo
Branch:
MAIN
Changes since
1.19: +14 -7 lines
Diff to
previous 1.19
Issue #322635, auto-create country languaged. Also, filter language select to show only languages not already added to the country.
Revision
1.19 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 17 14:55:38 2008 UTC
(13 months, 1 week ago)
by
nedjo
Branch:
MAIN
Changes since
1.18: +13 -7 lines
Diff to
previous 1.18
First steps of issue #322635, auto-create languages. Contains bugfix to country_code_get_country_language.
Revision
1.10 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Oct 10 05:31:42 2008 UTC
(13 months, 2 weeks ago)
by
recidive
Branch:
MAIN
Changes since
1.9: +22 -3 lines
Diff to
previous 1.9
Fixing some bugs.
Remove from language switch block, languages not supported for current country.
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 30 17:55:41 2008 UTC
(13 months, 3 weeks ago)
by
recidive
Branch:
MAIN
Changes since
1.5: +76 -30 lines
Diff to
previous 1.5
- Removing Enable/Disable countries feature.
- Adding weight field to country_code_country table.
- Refactoring the UI to make better use of Drupal 6 APIs.
- Renaming country_code.countries.inc to country_code_country_list.inc and moved stuff around.
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Sep 20 16:40:25 2008 UTC
(14 months ago)
by
recidive
Branch:
MAIN
Changes since
1.1: +76 -22 lines
Diff to
previous 1.1
Adding country code -> country list.
Changing url rewriting functions including to hook_boot().
Start working on a UI to add countries and set languages.
Adding .install file creating a new database table to store country settings.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Sep 16 22:05:59 2008 UTC
(14 months, 1 week ago)
by
nedjo
Branch:
MAIN
Initial draft of a module to provide functionality based on country
codes, such that users will have paths prefixed with their country code
based on IP. To include views filtering by country code (not yet
implemented).
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.