1
0
mirror of https://github.com/php/web-php.git synced 2026-04-26 16:38:04 +02:00
Commit Graph

751 Commits

Author SHA1 Message Date
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
Gabor Hojtsy de25050d9d Put a space after "mirror sites", so it is not that far right... 2003-01-24 20:19:15 +00:00
Gabor Hojtsy b2a46030f4 Make the title of the current page bold 2003-01-24 20:16:37 +00:00
Gabor Hojtsy bdeacea5f7 We need spacing not padding, so standard compliant browsers will
really display that one pixel high line as a one pixel high line.
2003-01-24 19:48:03 +00:00
Gabor Hojtsy fad5d896fb Override central stats setting if local vhost setting is specified
Add new is_official_mirror function to query if this is a registered
mirror site
2003-01-19 17:50:34 +00:00
Gabor Hojtsy 44ddc8d344 Really make that row one pixel high, and print newlines after doc TOC entries,
so the HTML is easier to debug...
2003-01-19 17:32:41 +00:00
Gabor Hojtsy c2873628b4 Separate navigation controls and user notes 2003-01-19 13:30:32 +00:00
Gabor Hojtsy 04e136e352 - Allow spacer() to return string if needed.
- Use default parameters if possible...
- Add spacer to manual sidebar to make it look the same in Mozilla then in IE
2003-01-19 13:24:41 +00:00
Gabor Hojtsy 0fddf6baf0 Moving spacer gif to images dir... 2003-01-19 13:14:11 +00:00
Gabor Hojtsy 6a2374b0d9 There is no need for a base, as the search page is always on the same server... 2003-01-18 21:49:49 +00:00
Gabor Hojtsy 0bd36027a7 Also take in account the array of available langauges,
so we need not check for files which should not be there...
2003-01-18 15:16:03 +00:00
Gabor Hojtsy 05fbc7093e Override central language setting with local language preference... 2003-01-18 15:13:59 +00:00
Gabor Hojtsy d3757924b2 Let the common URL handler choose the right page to redirect to... 2003-01-11 12:40:05 +00:00
Gabor Hojtsy 89365927f6 Separate data from presentation. Move books data to include/books.inc, as
all other "tabular" data is somewhere there... This also makes books.php
more editable, as it means less load to the rsync server if the display
logic changes.
2003-01-11 12:32:52 +00:00
Gabor Hojtsy f48f493b50 Get back to our normal logo... 2003-01-08 18:29:06 +00:00
Gabor Hojtsy 1a8c63483e Use preg for consistency 2003-01-08 09:05:31 +00:00
Gabor Hojtsy 893f85aa23 Add a comment on why the parentheses replace is there (it was not obvious for
me for the first time, just after I thought about it ;)).
2003-01-08 08:11:51 +00:00
Gabor Hojtsy 4f966f1d88 Add new mirror_redirect() function to redirect to some local or remote URI.
Use $MYSITE instead of $SERVER_NAME for local redirects. It's always the
"best name" for the mirror, most probably the mirrors real mirror name if
it's found.

Use this new function to greatly simplify redirects in the URL handler script.

Also use a switch instead of multiple IFs to react to some special shortcuts.

Still more to come...
2003-01-08 08:06:07 +00:00
Gabor Hojtsy 76f33c14ae Adding Id CVS attr to many include files, and also adding C++ format header,
for anybody who uses it, just for consistency ;)
2003-01-07 22:15:57 +00:00
Gabor Hojtsy cc22cda4be Remove empty cvsignore and not used cvs-auth file (it is now on master.php.net) 2003-01-07 22:11:56 +00:00
Gabor Hojtsy eeeb079430 Reworked code. Better variable names, comments added, etc. Functionality
not changed in any way, but modern code structures are used ;) ie. foreach
instead of while(each())...
2003-01-07 22:05:00 +00:00
Gabor Hojtsy 8bd25d842e Update manual copyright date... 2003-01-07 20:23:52 +00:00
Gabor Hojtsy 2cba76df96 Make correction, as requested by Dallas Thunder... 2003-01-07 19:56:45 +00:00
Gabor Hojtsy 03199a69df Prevent the ENV language setting coming up in $LANG, when it is not set otherwise... 2003-01-06 10:43:26 +00:00
Gabor Hojtsy a0828a862d Echo that string out... 2003-01-05 20:37:41 +00:00
Gabor Hojtsy de13684f56 Quickfix to make base conversion work if search is started from this form.
I'll look into this $base stuff more deeply later, to avoid unneeded
conversions and data transfer...
2003-01-04 20:37:37 +00:00
Gabor Hojtsy 1101f76493 Inform out users that the online documentation search always searches in the EN manual 2003-01-04 17:21:43 +00:00
Gabor Hojtsy ec14c77253 New code to choose really preferred language, with fallbacks to everything
imaginable. This code will be used in the future to display all language
dependent features in the right preferred language.
2003-01-03 20:59:40 +00:00
Gabor Hojtsy d12098f8ad Adding 2003 to copyright notices 2003-01-03 20:18:59 +00:00
Gabor Hojtsy 3b826487ea Adding info on cache HTTP headers URL to common prepend file.
Modifying manual headers to have a last modified date and have
no cache header. See if it works well... See bug #18897
2003-01-03 13:57:11 +00:00
Gabor Hojtsy 407229e16c Adding initial support for user level preferred language. Now it is the site's
default language. Honor that setting in displaying the documentation table pages
by highlighting manuals in that language specially.
2003-01-02 21:52:31 +00:00
Gabor Hojtsy 58a6f6e892 Correct and extend conformance problem list. 2002-12-28 12:18:36 +00:00
Gabor Hojtsy 3bfc0edefb OK, so the HK code is for the Hong Kong Cantonese type of
chinese (as far as the DSSSL style sheets can tell)
2002-12-28 10:48:02 +00:00