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

985 Commits

Author SHA1 Message Date
Gabor Hojtsy
a7e8def0e7 Integrate functions.js into the search page for public beta testing
(announcement will come later)
2003-10-26 16:02:12 +00:00
Mehdi Achour
d08082a2aa updating link for Niederauer book 2003-10-19 20:45:18 +00:00
Mehdi Achour
77d1f33275 new picture 2003-10-01 15:38:53 +00:00
Gabor Hojtsy
57676470e3 Erm, and tableless versions are definitely not to
be indexed by search engines
2003-09-27 17:58:20 +00:00
Gabor Hojtsy
0320790be9 Introduce a tableless navbar and also support the access
of a tableless manual page presentation mode via $NOTABLES
2003-09-27 17:52:06 +00:00
Mehdi Achour
96ff9a4169 correcting myself 2003-09-25 07:36:09 +00:00
Mehdi Achour
e21748e5c1 adding a new book, part 2
Goba, thank yuo for the howto ;)
2003-09-24 17:48:42 +00:00
Gabor Hojtsy
325b789ffd Give priority to HTTP_CLIENT_IP over REMOTE_ADDR and
HTTP_X_FORWARDED_FOR, suggested by Nuno Lopes.
2003-09-18 15:24:58 +00:00
Gabor Hojtsy
45e7831b19 Document how books should be added 2003-09-15 12:10:16 +00:00
Gabor Hojtsy
19bfb5aaa6 Correct links for Chineese books, so those will work finally 2003-09-15 11:54:54 +00:00
Gabor Hojtsy
855139905a Use a list instead of styled div for the manual TOC layout, because
- this is semantically correct
 - this uses *much* less markup
 - looks better in downlevel browsers (eg. NN4)

Also make the TOC link list appear in the normal font size of the
sidebar (which is a bit bigger then what is currently used, and easier
to read). It is still reasonably small IMHO.
2003-09-13 12:26:46 +00:00
Gabor Hojtsy
6afccee473 Support manual file downloads (with mirror selection) via short URLs
and provide more human friendly error messages for rush downloaders,
who download stuff the same day we publish it (when not all mirrors have
the file)...
2003-09-07 08:30:43 +00:00
Gabor Hojtsy
daaa449f2c Include filename and server name in the error message, so we would
know this instantly in case one copy-paster submits this as an error
report to us.
2003-09-07 08:28:42 +00:00
Gabor Hojtsy
edad79a4d6 Support the download of manual files via short URLs, and with
mirror selection, as discussed on the last docmeeting
2003-09-07 08:15:25 +00:00
Gabor Hojtsy
653e7b4a0d Better wording, as we include the full URL now... 2003-09-06 19:07:25 +00:00
Gabor Hojtsy
72b1c47ef6 Add servername to error message so we know what server has problems
if someone copy-pastes the error message to us...
2003-09-06 19:04:39 +00:00
Gabor Hojtsy
677c46c3ca Inform the user if we are unable to fulfill his request for a URL shortcut
because of some problem in the SQLite query. This avoids one Location:
redirection to the same mirror in case sqlite is not properly working, and
informs the user, instead of printing out nasty PHP error messages (ie.
graceful degradation).
2003-09-06 09:29:11 +00:00
Gabor Hojtsy
3225ece2d6 Move the error functions out to an include file,
so we can reuse them if needed
2003-09-06 09:14:58 +00:00
Gabor Hojtsy
7b3f1b9bcd Silence warning on sqlite_query if the table does not exist 2003-09-06 08:52:15 +00:00
Sara Golemon
d01952f08a Changes to 'Core PHP Programming', requested by Goba 2003-08-29 14:44:29 +00:00
Gabor Hojtsy
c7919b20c0 Put CSS and JS to their own place, and stop using JS for constant
styling. Use mirror specific style sheets instead which will be cached,
and applied faster than JS, and also work with JS disabled browsers.
2003-08-24 11:45:54 +00:00
Gabor Hojtsy
a63ba5d1d1 Set the background image in client scripting, so it will work
properly for www.php.net too. Also use convinience functions
to save a few bytes.
2003-08-23 17:33:20 +00:00
Gabor Hojtsy
935c55d2fe Clean out floated stuff, so the footer won't get overlayed on the sidebar 2003-08-23 13:36:52 +00:00
Gabor Hojtsy
a0e1db37f5 Add support on the HTML level for two and three column
layouts without tables
2003-08-23 13:26:10 +00:00
Gabor Hojtsy
753ca63717 Fix two HTML validity problems spotted by Cece 2003-08-23 08:52:41 +00:00
Gabor Hojtsy
f6f311581f Apply patch sent by Cece:
- use highlight_php() to highlight notes, so PHP code will
   be color coded in user note text
 - better URL recognition, and open stuff in new window
 - drop code converting strings back and forth, and fixing old
   formatting stuff
2003-08-21 13:16:34 +00:00
Gabor Hojtsy
82e8d0c31c Only print out id anchor if ID is present 2003-08-21 08:08:43 +00:00
Gabor Hojtsy
68bab1c1c2 Get rid of tables used for notes display, and produce the
identical effect with background-colored divs and floats, where
needed. This produces a much cleaner HTML code, makes
HTML output significantly smaller, and rendering quicker.
2003-08-20 13:37:56 +00:00
Mark Kronsbein
2584c0b422 Fix Typo 2003-08-18 00:16:07 +00:00
Gabor Hojtsy
9cb147bb1a Update code 2003-08-16 14:00:42 +00:00
Gabor Hojtsy
837473ee25 Add sitemap to footer 2003-08-16 13:38:56 +00:00
Gabor Hojtsy
e8ae1f70da Drop the need to specify that a redirection is really external, as
this is already in the first parameter. If there is a protocol part,
then it is external. Reflect this change in the errorhandler too.
2003-08-16 11:58:34 +00:00
Gabor Hojtsy
b1b69ccaa2 Be a bit more kind to those who run non-official mirror sites
for some reason (like I do for testing stuff :), and allow setting
of My PHP.net settings on these sites too. But do notify users
that unofficial mirror site settings are not goint to carried to the
official mirror sites.
2003-08-16 10:55:08 +00:00
Gabor Hojtsy
928b95845e Add shortcut function to print out news images (right aligned images
in the /images/news dir, pointing to an URL and having an ALT)
2003-08-16 08:42:28 +00:00
Gabor Hojtsy
55da3c4bc7 Fix logo and styling of printer friendly pages 2003-08-15 13:00:25 +00:00
Gabor Hojtsy
262623adca Add the ability to specify that a page should not be indexed 2003-08-15 10:46:40 +00:00
Gabor Hojtsy
76fd80c28c Support site_header customization through a config array,
and handle language related things here too
2003-08-14 13:32:37 +00:00
Gabor Hojtsy
57f8ededa8 tabs2spaces 2003-08-14 13:20:53 +00:00
Gabor Hojtsy
d8b234d5fc Fix for silly IE which thinks that an empty base can be real... 2003-08-14 09:20:00 +00:00
Gabor Hojtsy
c08b02a16d Much, much, much more news archives, one as old, being
publised in January 1998 ;) Also add generic interlinking
2003-08-13 18:40:04 +00:00
Gabor Hojtsy
0e45964dc3 Never allow www.php.net to be the preferred mirror site 2003-08-13 16:03:21 +00:00
Gabor Hojtsy
23784ab672 Modify mirror listing tables to use classes instead of inline bgcolor
and <small>, which makes the HTML standards compatible and
much smaller. Also make the table look more like the other
standard tables on PHP.net (spacing)
2003-08-13 14:35:12 +00:00
Gabor Hojtsy
fb4f7c4825 Convert right/left image alignment to CSS floating 2003-08-13 13:48:03 +00:00
Gabor Hojtsy
78136503d7 Fix a few XHTML validity problems and remove already
commented search support information
2003-08-13 13:30:17 +00:00
Gabor Hojtsy
22ae0f3870 Provide the interface for user selected mirror site redirection
to the website users, as well as adhere to these settings in
the load distribution script
2003-08-13 13:11:55 +00:00
Gabor Hojtsy
b368542543 Add functionality to make user specified mirror redirection work 2003-08-13 13:11:09 +00:00
Gabor Hojtsy
9b5bf7a15b Make the different mirror data returning functions E_NOTICE safe 2003-08-13 12:39:33 +00:00
Gabor Hojtsy
21ec0d31e0 Apply coding conventions 2003-08-13 12:15:09 +00:00
Gabor Hojtsy
f2cf0babf6 This book is not sold anymore 2003-08-10 11:39:41 +00:00
Gabor Hojtsy
1c5c752e6b Do not require register_globals 2003-08-09 16:51:24 +00:00