1
0
mirror of https://github.com/php/web-php.git synced 2026-03-31 19:52:29 +02:00
Commit Graph

783 Commits

Author SHA1 Message Date
Colin Viebrock
30845c7e7c Sorry about the expose_php thing ... I didn't realize it made the guid
functions unavailable.

I'm replacing the logo with one that matches the one in phpinfo()
2003-04-02 16:00:09 +00:00
Gabor Hojtsy
dccdd610c8 Serving the phpnet_logo from a permanent file, and not a PHP parameter,
which can be turned off...
2003-04-02 15:14:15 +00:00
Colin Viebrock
37ac98750a perma-fix 2003-04-02 00:06:55 +00:00
Colin Viebrock
38b3fe234d forgot to do this sooner ... 2003-04-01 18:55:42 +00:00
Gabor Hojtsy
4da75f0885 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 ;)
2003-03-15 12:56:28 +00:00
Jacques Marneweck
d51d0eecd0 * Forgot to make $base a global.
--jm
2003-03-15 00:42:46 +00:00
Jacques Marneweck
0d49b94b26 * This is a quick fix for submitting a new search when you are on
ch.php.net and you have $base set from the mirror site you are using
   prior to redirection. (BUG #22706).

--jm
2003-03-14 20:49:56 +00:00
Derick Rethans
b48781f249 s/\t/\ \ \ \ /g 2003-03-14 09:40:32 +00:00
Derick Rethans
c58d7e533b - Remember the last selected language from the langchooser on every
manual page.
2003-03-14 09:39:15 +00:00
Gabor Hojtsy
197589449a Typo, thanks to Mitja for pointing it out... 2003-03-13 17:43:14 +00:00
Gabor Hojtsy
08b7de85a3 Really honor the user's language settings... 2003-03-13 17:14:02 +00:00
Gabor Hojtsy
1f24235737 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...
2003-03-13 17:06:25 +00:00
Gabor Hojtsy
103cfb7df2 Wrox was busy adding PHP books, this is a new one again... 2003-03-13 16:10:53 +00:00
Gabor Hojtsy
7e1cb7ec67 Adding new Wrox Strings Handbook 2003-03-13 15:26:28 +00:00
Gabor Hojtsy
03b69e9837 Fix the explicit spec. bug I have introduced the past weekend... 2003-03-11 21:28:57 +00:00
Gabor Hojtsy
0067b7530d 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...
2003-03-08 20:43:16 +00:00
Gabor Hojtsy
c56c9424c6 Fallback to "en" in case the language set by mirror site (or provided by
master.php.net is not supported)
2003-03-06 18:05:54 +00:00
Gabor Hojtsy
ea39292d73 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).
2003-03-02 19:33:43 +00:00
Gabor Hojtsy
c106cf220d Having the DTD URL in the DOCTYPE switches Mozilla and IE to a standards
compatibility mode, in which our site does not behave correctly right now,
so remove the URL from the DOCTYPE for now...
2003-03-02 19:08:15 +00:00
Gabor Hojtsy
802a2e2c1d More on the way to be standard compliant. I have just found out, that
HTML 4.01 allows <hr noshade="noshade">, which is good new for us :)

| Boolean attributes may legally take a single value: the name of
| the attribute itself (e.g., selected="selected").
2003-03-02 18:08:34 +00:00
Gabor Hojtsy
e132060d0a Fixing some validity problems, so the images will be right and
the form option tags will have closing pairs...
2003-03-02 17:56:09 +00:00
Gabor Hojtsy
cf8bffc721 Upgrade to latest non-XHTML content type... 2003-03-02 17:33:30 +00:00
Gabor Hojtsy
01e408cd68 Provide default content-type, charset and language information on all pages 2003-03-02 16:53:32 +00:00
Gabor Hojtsy
d068953468 Do not modify $LANG (which is already perfeclty set up) to the manual's
language code...
2003-03-02 16:26:47 +00:00
Gabor Hojtsy
d661afe206 Better explicit language handling, including REQUEST vars now... 2003-03-02 16:16:04 +00:00
Gabor Hojtsy
22c1c68d29 Only print out language, if explicitly specified (on manual pages).
Otherwise, the language to use for the search can be computed on the
fly from other implicit sources (which won't change between the two
requests, unlike the explicit spec).
2003-03-02 15:51:36 +00:00
Gabor Hojtsy
f62e1d8900 Also count with explicit language specifications for search forms... 2003-03-02 15:47:42 +00:00
Gabor Hojtsy
6c6ecd674c Use the $LANG var, which always contains the used
language, and default_language() cannot help...
2003-03-02 11:09:51 +00:00
Gabor Hojtsy
96c0018daa Provide a default for the stipped URI, so it works if the
language is not specified...
2003-03-01 20:50:46 +00:00
Gabor Hojtsy
196a7f04c0 Integrate the langauge chooser to the main site flow, and update the
documentation pages to use the new $LANG var to display documentation
download pages "customized" to the user

This also makes preferred_language()'s remove, as $LANG is perfect for
this purpose...
2003-03-01 16:14:35 +00:00
Gabor Hojtsy
64906f9b38 Provide an URL version with language code stripped off for cleaner
shortcut handling
2003-03-01 16:03:44 +00:00
Gabor Hojtsy
4a5b9f90f0 Ups, $idx is not needed. Keep the code simple and clean too ;)) 2003-03-01 13:53:56 +00:00
Gabor Hojtsy
ae05da2ba1 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).
2003-03-01 13:52:46 +00:00
Gabor Hojtsy
82cefa6e39 The new Wrox books title does not include, and we have the authors list
thanks to Mitja
2003-02-27 18:12:20 +00:00
Gabor Hojtsy
55ad4b8356 Adding new Wrox books, with unknown authors list... 2003-02-25 22:24:40 +00:00
Gabor Hojtsy
a5d194d6c9 Go with new better looking URLs which are also ok for IE...
http://php.net/get/{filename}/from/a/mirror => opens the mirror selection page
http://php.net/get/{filename}/from/this/mirror => download from this mirror
http://php.net/get/{filename}/from/{mirrorname}/mirror => download from {mirrorname} mirror

This is wget friendly. and avoids the extension on the end of the URL,
which made some IEs and download managers go mad to think that a HTML
page is actually an exe or a zip file... The URLs are also good to read out :)
2003-02-09 10:56:17 +00:00
Gabor Hojtsy
b392b73595 Try to hide extension from dumb browsers... 2003-02-07 15:17:21 +00:00
Gabor Hojtsy
df5a172554 OK, now my tests shows that new /get links work quite well, so go with
them, and wait for error reports...

New links: /get/{filename} opens up the mirror selection page
           /get/{filename}/from/{mirrorname} send the file for download

These are wget friendly and look quite nice in newsletters, etc...
2003-02-05 19:59:35 +00:00
Gabor Hojtsy
4174d89a58 Use the new book image names (ISBN number) 2003-02-03 21:21:57 +00:00
Gabor Hojtsy
cfa3ab9627 Start the switch to /images instead of /gifs 2003-02-03 21:20:47 +00:00
Simone Cortesi
f62afcbd9b fixing typo 2003-02-03 01:18:36 +00:00
Gabor Hojtsy
7fcc901f23 Two smalls is a bit too much small for the form... 2003-02-02 12:28:55 +00:00
Gabor Hojtsy
dbd21f362d Close form after text, so it is not displayed on the next line 2003-02-02 11:43:24 +00:00
Gabor Hojtsy
a1814d4d7d Align last modified date properly 2003-02-02 11:33:19 +00:00
Gabor Hojtsy
9f42ebb5d9 Correct class 2003-02-02 11:32:02 +00:00
Gabor Hojtsy
131956b8b6 Add mirror information page link 2003-02-02 11:00:43 +00:00
Gabor Hojtsy
e5134b2955 Switch language / print change links to a dropdown, to comsume less
space on the screen, as discussed before.
2003-02-02 10:14:35 +00:00
Gabor Hojtsy
a7900e5540 Adding new Wrox book 2003-01-27 15:35:26 +00:00
Gabor Hojtsy
d9edcfcac0 Make the toc table always 100% wide (make the line looks better under the TOP link) 2003-01-26 10:20:05 +00:00
Gabor Hojtsy
ec08d5989b Hide underline from left sidebar links 2003-01-25 12:00:37 +00:00