History log of /web-php/include/langchooser.inc (Results 26 – 50 of 53)
Revision Date Author Comments
# bc78f803 27-May-2003 Gabor Hojtsy

Remove PHP < 4.1.0 BC code
- the creation of $_.. vars
- global-ing them before usage

These are not needed anymore, we have all mirrors with
PHP > 4.1.0, and those having old v

Remove PHP < 4.1.0 BC code
- the creation of $_.. vars
- global-ing them before usage

These are not needed anymore, we have all mirrors with
PHP > 4.1.0, and those having old versions are disabled

show more ...


# eab7a75a 24-May-2003 Gabor Hojtsy

Comment the BC code for pre 4.1.0 mirrors as we have
them disabled now, so autoglobal vars should work on
all mirrors without special preparation

Use $_SERVER['DOCUMENT_ROOT'] for in

Comment the BC code for pre 4.1.0 mirrors as we have
them disabled now, so autoglobal vars should work on
all mirrors without special preparation

Use $_SERVER['DOCUMENT_ROOT'] for includes
instead of a user defined constant, as the docroot
value is always available [even before prepend.inc]
This ensures consistency and causes no stat() calls

Add myphpnet_...() functions to load, get/set and save
the user preferences, and use them everywhere. This
enables us to easily add new preferences to the same
cookie. Every preference will last for a year this way,
and the cookie will only be set again, if someone
modifies his data on my.php

If this works nicely, then we can easily add a preferred
mirror site setting (and more)

[These changes seem to work on my local mirror]

show more ...


# e3da0857 17-May-2003 Gabor Hojtsy

Tab => spaces


# 661cd648 17-May-2003 Gabor Hojtsy

Add new mirror_setcookie() function to set
a cookie for all mirror sites, and use it for
country and last language cookies set by our
code

Also add code to remember the last sear

Add new mirror_setcookie() function to set
a cookie for all mirror sites, and use it for
country and last language cookies set by our
code

Also add code to remember the last search term
and selected search option in a cookie (JS code
will come to handle this on the client side)

show more ...


# c9265def 17-May-2003 Gabor Hojtsy

Use spaces not tabs


# 48ff8861 17-May-2003 Gabor Hojtsy

Fix the inconsistencies introduced by the last two
fixes. We use $languages and not $lang here...


# 37a267d3 15-May-2003 Jacques Marneweck

* More of the E_NOTICE fixes. Also make the spacer.gif pull from the
seperate images server if www.php.net

--jm


# c00483cb 15-May-2003 Wez Furlong

Less stat() calls.


# 4fe45890 14-May-2003 Jacques Marneweck

* Busy fixing all the errors that appears when E_NOTICE is set on php.net
as reported by James Cox in his e-mail with message id
<MMEPJPGPACDMPGEEKFMKIECLLCAA.james@imajes.info>

* Busy fixing all the errors that appears when E_NOTICE is set on php.net
as reported by James Cox in his e-mail with message id
<MMEPJPGPACDMPGEEKFMKIECLLCAA.james@imajes.info>

--jm

show more ...


# 4da75f08 15-Mar-2003 Gabor Hojtsy

Really remember last used language :) And do not override the user setting
with it. What if I would like to see the Hungarian version of a page on time,
and I still want to use English as my

Really remember last used language :) And do not override the user setting
with it. What if I would like to see the Hungarian version of a page on time,
and I still want to use English as my default language ;)

show more ...


# b48781f2 14-Mar-2003 Derick Rethans

s/\t/\ \ \ \ /g


# c58d7e53 14-Mar-2003 Derick Rethans

- Remember the last selected language from the langchooser on every
manual page.


# 19758944 13-Mar-2003 Gabor Hojtsy

Typo, thanks to Mitja for pointing it out...


# 08b7de85 13-Mar-2003 Gabor Hojtsy

Really honor the user's language settings...


# 1f242357 13-Mar-2003 Gabor Hojtsy

Adding new array creation to langchooser, so we can inform users
about how we have parsed their accept-language

Add the first version of my.php (which will enable users to set their

Adding new array creation to langchooser, so we can inform users
about how we have parsed their accept-language

Add the first version of my.php (which will enable users to set their
own languages). Please don't spread the word, this needs testing, before
it can go live for all users...

show more ...


# 03b69e98 11-Mar-2003 Gabor Hojtsy

Fix the explicit spec. bug I have introduced the past weekend...


# 0067b753 08-Mar-2003 Gabor Hojtsy

Update code to handle qualities (really only used by Safari as far as I know).
Refactor the code to be under a function, so temp variables are lost, and there
is no global namespace solution.

Update code to handle qualities (really only used by Safari as far as I know).
Refactor the code to be under a function, so temp variables are lost, and there
is no global namespace solution. Also remove ?> from the end, so there won't be
any whitespace outoput in any case...

show more ...


# ea39292d 02-Mar-2003 Gabor Hojtsy

Adding translation table for pt_br and Chinese language variations and
strip out any other language flavor specified in the accept language, as
we have no support for flavors of other languag

Adding translation table for pt_br and Chinese language variations and
strip out any other language flavor specified in the accept language, as
we have no support for flavors of other languages (eg. en-us or en-gb will
become en).

show more ...


# d661afe2 02-Mar-2003 Gabor Hojtsy

Better explicit language handling, including REQUEST vars now...


# f62e1d89 02-Mar-2003 Gabor Hojtsy

Also count with explicit language specifications for search forms...


# 96c0018d 01-Mar-2003 Gabor Hojtsy

Provide a default for the stipped URI, so it works if the
language is not specified...


# 64906f9b 01-Mar-2003 Gabor Hojtsy

Provide an URL version with language code stripped off for cleaner
shortcut handling


# 4a5b9f90 01-Mar-2003 Gabor Hojtsy

Ups, $idx is not needed. Keep the code simple and clean too ;))


# ae05da2b 01-Mar-2003 Gabor Hojtsy

Applying KISS, taking account the user's Accept Language browser setting
(without bothering with the priority values provided by the UA, as those
are not applicable for us).


# f62afcbd 03-Feb-2003 Simone Cortesi

fixing typo


123