/[drupal]/contributions/modules/country_code/country_code.module
ViewVC logotype

Log of /contributions/modules/country_code/country_code.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 10 13:46:50 2008 UTC (11 months, 2 weeks ago) by catch
Branch: MAIN
CVS Tags: HEAD
Changes since 1.95: +5 -7 lines
Diff to previous 1.95
#328194 by recidive: use lowercase country codes.

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 10 12:22:01 2008 UTC (11 months, 2 weeks ago) by catch
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94
#337369: Remove 404 error from language switcher block on the site front page.

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 10:30:52 2008 UTC (11 months, 2 weeks ago) by catch
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93
#342853: fixed a notice in hook_init.

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.91 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 22:21:44 2008 UTC (12 months, 3 weeks ago) by snpower
Branch: MAIN
Changes since 1.90: +81 -2 lines
Diff to previous 1.90
#328197 - merged in country_code.inc into country_code.module to avoid
hook_boot() issues.

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 2 18:40:54 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.89: +3 -2 lines
Diff to previous 1.89
Follow up to issue #309956; ensure t() is available before calling it to avoid breakage in hook_boot.

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 30 20:05:03 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.88: +2 -2 lines
Diff to previous 1.88
Retain ->country_code setting on user profile edit form.

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 30 17:49:12 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.87: +24 -1 lines
Diff to previous 1.87
Issue #309956, new hook allowing other modules to determine country code by IP address.

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 29 05:37:21 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.86: +4 -1 lines
Diff to previous 1.86
Issue #327487, fix path aliases.

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.84 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 22:37:10 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
Minor refinement, save a function call.

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 21:28:35 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.82: +5 -2 lines
Diff to previous 1.82
Detect same base language when adding prefix for language switching.

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 21:04:00 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.81: +1 -14 lines
Diff to previous 1.81
Remove date_format alter hook implementation. Not working, probably not needed.

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:36:03 2008 UTC (12 months, 3 weeks ago) by recidive
Branch: MAIN
Changes since 1.80: +58 -50 lines
Diff to previous 1.80
Attepting to fix country/language blocks when viewing a node.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:30:52 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.79: +14 -3 lines
Diff to previous 1.79
Fix node links--show only for valid languages.

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:05:31 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78
Issue #326726, fix country code default method.

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 20:00:02 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.77: +9 -1 lines
Diff to previous 1.77
Match two-digit browser languages.

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 19:39:23 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.76: +8 -6 lines
Diff to previous 1.76
Issue #327286, prevent loss of global language.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 17:51:56 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.75: +3 -1 lines
Diff to previous 1.75
Add TODO note re resetting cached country code.

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.74 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 17:07:14 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.73: +6 -1 lines
Diff to previous 1.73
Show short language names on user default language selection.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 16:47:28 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.72: +3 -3 lines
Diff to previous 1.72
Tweaks to language switcher.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 16:39:14 2008 UTC (12 months, 3 weeks ago) by recidive
Branch: MAIN
Changes since 1.71: +5 -2 lines
Diff to previous 1.71
Fix the language block to show short languages names.

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 16:31:39 2008 UTC (12 months, 3 weeks ago) by recidive
Branch: MAIN
Changes since 1.70: +11 -6 lines
Diff to previous 1.70
Changing country_code_languages() to return array indexed by five-digits language by default.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 16:27:43 2008 UTC (12 months, 3 weeks ago) by nedjo
Branch: MAIN
Changes since 1.69: +5 -6 lines
Diff to previous 1.69
Return enabled two-digit languages when requesting global. Part of issue #326726.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 28 15:30:46 2008 UTC (12 months, 3 weeks ago) by recidive
Branch: MAIN
Changes since 1.68: +35 -92 lines
Diff to previous 1.68
#326726: Refactor to set global language to country-specific version.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 25 01:18:12 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.67: +17 -5 lines
Diff to previous 1.67
Issue #325887, rework to avoid costly query.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 24 11:45:49 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.66: +3 -1 lines
Diff to previous 1.66
It was possible to disable the default country via the edit form.  This has now
been fixed.

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.65 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 21:00:00 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.64: +6 -6 lines
Diff to previous 1.64
#325255: Followup, include country code in link and add a todo.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 19:51:05 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.63: +47 -1 lines
Diff to previous 1.63
#325255: Fix country switcher block links for nodes.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 13:31:48 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.62: +10 -6 lines
Diff to previous 1.62
Fix for setting the new default country after the current default country is
deleted.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 23 09:14:56 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.61: +5 -5 lines
Diff to previous 1.61
coding / commenting style changes.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 21:15:24 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60
Issue #324691, attempted fix to previous commit.

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 20:56:59 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.59: +4 -2 lines
Diff to previous 1.59
Issue #324691, consider if country_code session variable is set when determining country_code.

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 17:32:01 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
Fix for country_code_country_count variable being set incorrectly when a country
was deleted.

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 17:20:51 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57
Fix for setting the first country added to be the default.

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 12:34:19 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56
fixed whitespace issues.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 09:09:27 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.55: +3 -14 lines
Diff to previous 1.55
#324263: Added a setting to disable translation links on nodes

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 04:49:54 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.54: +21 -6 lines
Diff to previous 1.54
Issue #323034, set first country as default and require default to be anabled.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 22 03:15:15 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.53: +43 -12 lines
Diff to previous 1.53
Issue #324350, add a Global link to the country switcher.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 23:22:49 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.52: +40 -1 lines
Diff to previous 1.52
Issue #324376, add method for loading country-appropriate node translation.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 18:01:10 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.51: +11 -1 lines
Diff to previous 1.51
#324263 - also remove links for two-digit languages not supported by the current user's country

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 16:46:49 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.50: +16 -1 lines
Diff to previous 1.50
#324263 - remove translation links from nodes if from the same country

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 11:15:38 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49
Users from unsupported countries can now switch between languages that are
supported by other countries.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 21 00:18:23 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
Issue #323874, add field handler for country field.

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.47 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 20:07:15 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.46: +2 -2 lines
Diff to previous 1.46
Fix notice for sites not installed in a subdirectory

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 19:05:58 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.45: +6 -1 lines
Diff to previous 1.45
Remove a notice when HTTP_REFERER isn't set

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 18:34:04 2008 UTC (13 months ago) by catch
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44
Remove a notice on account edit page

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.42 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 16:00:11 2008 UTC (13 months ago) by snpower
Branch: MAIN
Changes since 1.41: +2 -2 lines
Diff to previous 1.41
Fix for array_unshift() error appearing when saving the countries config form.

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.40 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 20 03:17:55 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.39: +15 -8 lines
Diff to previous 1.39
When disabling the current country, reset the country_code cached data to avoid a page not found error.

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.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 23:25:34 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.36: +16 -9 lines
Diff to previous 1.36
Restrict user language setting to two-digit languages.

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 23:16:44 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.35: +18 -2 lines
Diff to previous 1.35
Issue #323019, option to use paths for external links.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 22:18:09 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.34: +12 -2 lines
Diff to previous 1.34
Issue #323021, enable user browser language support.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 22:03:02 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.33: +12 -15 lines
Diff to previous 1.33
Further to issue #321626, set language based on user preference.

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.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 17:54:05 2008 UTC (13 months ago) by nedjo
Branch: MAIN
Changes since 1.29: +69 -12 lines
Diff to previous 1.29
Issue #323017, reinstate enabling countries, and first part of issue #323034, default country.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 03:30:01 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.28: +27 -4 lines
Diff to previous 1.28
Issue #322884, fix path error on disabling module.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 02:47:05 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.27: +8 -2 lines
Diff to previous 1.27
Fix issue #322883, broken home link.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 02:15:31 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.26: +11 -2 lines
Diff to previous 1.26
Issue #322895, fix active class in language switcher block.

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.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 00:33:15 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24
Fix a couple errors in previous commits, e.g., missing global .

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 00:25:15 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.23: +6 -1 lines
Diff to previous 1.23
Issue #311174, temporary solution to country switching via drupal_goto().

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 18 00:15:37 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.22: +74 -1 lines
Diff to previous 1.22
Issue #311174, roughed in country switching block. Not yet functional.

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.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 18:52:26 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.20: +6 -4 lines
Diff to previous 1.20
Minor string fixes and provide a link to edit a newly-created language.

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.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 14:21:55 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.17: +17 -1 lines
Diff to previous 1.17
Issue #322627, show only two-digit languages when adding to countries.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 12:26:50 2008 UTC (13 months, 1 week ago) by douggreen
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16
add missing brackets around SQL {table}

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 01:04:19 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15
Help text fixes.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 17 00:54:32 2008 UTC (13 months, 1 week ago) by nedjo
Branch: MAIN
Changes since 1.14: +30 -2 lines
Diff to previous 1.14
Issue #310520, support for date_format module's hook. Untested.

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 16 18:52:17 2008 UTC (13 months, 1 week ago) by recidive
Branch: MAIN
Changes since 1.13: +19 -7 lines
Diff to previous 1.13
Allow removing languages from countries.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 18:38:34 2008 UTC (13 months, 1 week ago) by recidive
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
Fixing wrong logic == should be !=;

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 14 18:22:03 2008 UTC (13 months, 1 week ago) by recidive
Branch: MAIN
Changes since 1.11: +79 -10 lines
Diff to previous 1.11
Adding multi language per country support.

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 05:42:44 2008 UTC (13 months, 2 weeks ago) by recidive
Branch: MAIN
Changes since 1.10: +10 -5 lines
Diff to previous 1.10
Improving code documentation.

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.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 05:06:51 2008 UTC (13 months, 2 weeks ago) by recidive
Branch: MAIN
Changes since 1.8: +18 -3 lines
Diff to previous 1.8
Adding country based language negotiation setting.

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 10 01:26:46 2008 UTC (13 months, 2 weeks ago) by recidive
Branch: MAIN
Changes since 1.7: +10 -1 lines
Diff to previous 1.7
Adding views fields and filters by country_code.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 19:22:15 2008 UTC (13 months, 2 weeks ago) by recidive
Branch: MAIN
Changes since 1.6: +41 -4 lines
Diff to previous 1.6
Adding 'languages' tab. Started adding multiple language per country feature.

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.5 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 17:53:00 2008 UTC (14 months ago) by recidive
Branch: MAIN
Changes since 1.4: +6 -1 lines
Diff to previous 1.4
Working around hook_boot() not being called before hook_init() on the first time a module is installed.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 23 16:53:49 2008 UTC (14 months ago) by recidive
Branch: MAIN
Changes since 1.3: +17 -6 lines
Diff to previous 1.3
Adding UI for editing a country.
New API function country_code_country_save().

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 19:13:37 2008 UTC (14 months ago) by recidive
Branch: MAIN
Changes since 1.2: +59 -9 lines
Diff to previous 1.2
Added UI for deleting a country.
Added language selection based on country feature.

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.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2