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

200 Commits

Author SHA1 Message Date
Gabor Hojtsy
be11601b9a Only allow official mirrors to have the sponsor image on the left of the homepage, plus provide a different footer text for not registered mirrors. 2004-01-27 08:33:48 +00:00
Gabor Hojtsy
567e5679ba Holidaytime is over :( 2004-01-03 14:45:12 +00:00
Jacques Marneweck
2e7b465092 Updated copyright notices. Happy New Year! 2003-12-31 23:01:57 +00:00
Gabor Hojtsy
aa3b74c587 adding more visible contact information, with the bug system suggested as a first option 2003-12-31 13:19:50 +00:00
Gabor Hojtsy
bad9b947e7 one more place to replace the logo, and move out some news items to the archives, so the homepage will load faster 2003-12-01 18:49:37 +00:00
Gabor Hojtsy
7923c94948 Let it snow, let it snow, let it snow... 2003-12-01 08:20:08 +00:00
Andrew Lindeman
bd644490d9 fix parse error 2003-11-24 12:35:01 +00:00
Gabor Hojtsy
80bf1a2cb4 first make the nbsps spaces, and then convert two spaces after each other to one nbsp and a space this will hopefully fix the layout issue of http://us3.php.net/manual/en/faq.html.php without introducing new problems 2003-11-24 11:19:54 +00:00
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
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
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
837473ee25 Add sitemap to footer 2003-08-16 13:38:56 +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
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
fb4f7c4825 Convert right/left image alignment to CSS floating 2003-08-13 13:48:03 +00:00
Gabor Hojtsy
c1c8c28d59 Kill delims once and for all. 2003-08-09 13:22:54 +00:00
Gabor Hojtsy
f325f7d644 delim() and hdelim() are not used anymore 2003-08-09 12:25:32 +00:00
Gabor Hojtsy
6cddadf78e Fix XHTML 1.0 validity problems 2003-08-08 13:08:26 +00:00
Gabor Hojtsy
a3d3cfcc36 Fix $_SERVER varname 2003-08-07 17:34:24 +00:00
Gabor Hojtsy
db0e38a42a Fix page title, and make the explicit language input field placed
more finely in the HTML output
2003-08-07 12:36:33 +00:00
Gabor Hojtsy
edc3012cf6 Adding the new CSS based header and footer on an experimenting page
(thanks.php), also removing time measurement code from prepend.inc
and layout.inc
2003-08-07 09:30:05 +00:00
Gabor Hojtsy
3737c3e083 Use str_replace for performance reasons, and also
honor the starting spaces on lines, discarded by browsers,
but do replace two nbsps with one and a space, as it is
rendered the same way, and is much smaller.
2003-08-03 17:23:03 +00:00
Gabor Hojtsy
14abb0f22d Add support for highlighting PHP code with CSS classes used, and
use it on the new zend engine 2 page (code idea from livedocs)
2003-08-03 10:17:21 +00:00
Gabor Hojtsy
59435032f7 Also specify BASE_PAGE on manual pages, so it can
be used to print out the show source link properly on pages
accessed with shortcuts

Use the BASE_HREF on manual pages to provide a backlink
to the previous page after user note submissions, so thse
will work from shortcut accessed pages too

These two fixes hopefully close all the problems related to
manual URL shortcut page displays
2003-07-21 13:14:33 +00:00
Gabor Hojtsy
9fd21b55e3 - Get rid of BASE_FOR_MANPAGE in favor of the more
generic _SERVER['BASE_HREF'], which we will use on all
pages

- Remove the old commented mirror switching part, which
was never used, and not going to be used

- Also employ BASE_HREF for the printed version, so the
right server name will be used, and XHTMLize the printed
page's header
2003-07-20 13:44:36 +00:00
Gabor Hojtsy
9a5cd6b532 Implement some more general handling of the base
parameter, to support the usage of webpage shortcuts
without redirections in the future

Also keep the two old base handling methods, until they
can be replaced by this general one
2003-07-13 20:02:10 +00:00
Gabor Hojtsy
8fe303bc05 Use divs to present the TOC items on manual
pages on the left side of the window

Add images according to php.net rules to these
two styles (toca, toci) depending on what mirror
they are used on

Also rewrite the TOC generator code a bit, so it
identifies items properly when their title and titleabbrev
differ [was a bug on many pages]

Also wrap too long function names, so we have the
same amount of content and nav area on pages with
long function names in the TOC [eg. xml functions]

The new div based approach means that we have *much*
less HTML to output, and the layout of the menu is better
than before, as the box images are aligned to the text.
Tested with Mozilla and Konqueror. Apart from pages with
long function names in the TOC, this should look very similar
to the display of the TOC before
2003-06-14 18:28:56 +00:00
Philip Olson
cda59ef3cc Add back the popup link functions, as used by the user comments. 2003-06-08 02:17:10 +00:00
Gabor Hojtsy
c2ae6b78fe Allow the caller of make_image() to opt out from
automatic image sizing

Use this feature and convert the border attribute
in make_submit() to output an [X]HTML compatible
<input> tag
2003-06-07 20:17:34 +00:00
Gabor Hojtsy
6b19498e74 Tabs to spaces, and several rewrites among the common
layout functions. eg. the code for make_image() got optimized

Also employ coding style (comments, spaces, bracing)

Remove the popup link function which are not used for a very
long time...

Put the static root to $_SERVER['STATIC_ROOT'] so it can
easily go around the functions

The header and footer functions are still not rewritten, and
more work is needed on make_submit() to make it [X]HTML
compliant

These changes seem to work on my local mirror
2003-06-07 20:01:07 +00:00
Gabor Hojtsy
1d86bcff06 Define the new searchHistory() JS function to restore
the last search done by a user

Include this in the onload event handler of the index page,
and in all other pages, where an onload handler is not already
defined

Add name to form, so we can call it by it's name

JS tested with Mozilla. As the functions and objects used
are rather old, it should work with all browsers. In case someone
knows a better way, go and fix it ;)
2003-06-05 19:41:55 +00:00
Rasmus Lerdorf
edbe4e40bf New categorized look for the calendar sidebar
Might take a couple of hours for the backend data and this new frontend
ui to get in synch.
2003-06-01 19:16:54 +00:00
Rasmus Lerdorf
ddc3732b3b More work on the event categorization 2003-06-01 15:52:37 +00:00
Gabor Hojtsy
c0c7276f29 This base seems to be correct to me on mirror
sites too, so enable it
2003-05-24 11:10:51 +00:00
Gabor Hojtsy
bc55d94455 Add $BASE_FOR_MANPAGE which will always contain
the correct URI of a manual page which is currently served.

The code uses no external calls, it is based on config params
provided by sendmanualheaders() and manualheaders(), which
are always properly parameterized on all manpages and are
always called.

The <base> printout is added with a comment now,
so we can see if it works correcly. If yes, that the
comment signs can be removed, making that effective.

Then all the manual shortcuts can be changed to include()
manual pages instead of redirecting to them. Relative
links will work.
2003-05-23 20:45:39 +00:00
Jacques Marneweck
979269e7f1 - Fixed $www_static_root not being echo'ed which caused stylesheet and a
couple of graphics to not load.
2003-05-20 22:08:51 +00:00
Jacques Marneweck
5997e36ffd - Fixed parse error with the } on line 5.
--jm
2003-05-20 22:03:34 +00:00
Sascha Schumann
0c04ec780b More work on moving accesses to static resources 2003-05-20 21:49:38 +00:00
Sascha Schumann
f9644502ad Refactor code, use static.php.net and load style.css, favicon.ico,
and userprefs.js from there.

For the latter, cookies need to be set to "domain = .php.net"!
2003-05-20 21:45:24 +00:00
Gabor Hojtsy
485e1761e1 $COUNTRY is not needed here... 2003-05-17 09:16:21 +00:00
Jacques Marneweck
37a267d343 * More of the E_NOTICE fixes. Also make the spacer.gif pull from the
seperate images server if www.php.net

--jm
2003-05-15 21:16:21 +00:00
Wez Furlong
6ea5f27387 Route images via thttpd for www.php.net site itself.
# phpweb guys: please make it a point to try and use make_image() function
# for generating images where you can.  It allows us to manage the load
# a little easier
2003-05-15 16:36:04 +00:00
Gabor Hojtsy
ec5a78f5e9 Adding client side JS to make events in the user's
country bold. This JS file will be expanded in the future
to add features like last search keyword / last selected
search option remembering

This JS was tested in Mozilla, Galeon and Konqueror
with success and the code was human checked against
MSDN for Internet Explorer questions. It also includes
a BC check for browsers without DOM support.
2003-05-15 13:27:40 +00:00