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

4670 Commits

Author SHA1 Message Date
Andrew Lindeman
e65cb81ce9 grammar 2003-05-03 23:10:43 +00:00
Andrew Lindeman
65768defa3 more global variables that are messing up the download page. Hopefully this is the last... 2003-05-03 22:59:45 +00:00
Andrew Lindeman
fd21343e21 argh, gotta watch those global variables 2003-05-03 22:19:14 +00:00
Andrew Lindeman
01bb3438be this should fix the download bug 2003-05-03 22:10:34 +00:00
Andrew Lindeman
2a6ef74b1a code -> note -- what was I thinking :-/ 2003-05-03 21:37:42 +00:00
Andrew Lindeman
4566793f1a <p> tags in user notes really screw up the style of the page. Make sure these tags stay in the 'code' class 2003-05-03 21:36:30 +00:00
Andrew Lindeman
9ef688b5ba commas were not necessary and made the sentence should quite weird.. 2003-05-03 21:18:53 +00:00
Gabor Hojtsy
76567d8150 Ups, only count active mirrors 2003-05-03 20:11:20 +00:00
Gabor Hojtsy
1bbff2c7cf Rewrite the page to support automatic mirror
suggestion if active mirrors are in the user's
country

 -> Put the mirror table printout into a function
 -> Call this function for every table printed out
     based on current conditions
2003-05-03 20:08:57 +00:00
Gabor Hojtsy
caeee06f85 Add a function to count mirrors in a given country 2003-05-03 20:07:23 +00:00
Gabor Hojtsy
14f886ad82 Let the country validity check at one place,
as we will need it more then once
2003-05-03 20:06:01 +00:00
Gabor Hojtsy
9ae10bf244 Jumpstart our new ip-to-country service by marking
events in the user's country with bold letters, right on
the frontpage

This implementation is expected to be cache friendly,
and separates user based content from usual content.
If the CSS output of user/css.php is cached, then we
need to add more aggressive non-cacheing headers.
2003-05-03 16:29:40 +00:00
Gabor Hojtsy
9cf9b37d83 Adding URL shortcut simulation to new 'user' dir 2003-05-03 15:59:36 +00:00
Gabor Hojtsy
d701af95fb Fixing the URL shortcut simlulations 2003-05-03 15:59:06 +00:00
Gabor Hojtsy
499c949b76 Add a header_nocache() function instead of repeaing
the same headers on all pages where this is needed
2003-05-03 15:49:18 +00:00
Gabor Hojtsy
06f9980889 Let's have a var, named $COUNTRY which identifies
the user's country (much like what $LANG 'does' for
the language)
2003-05-03 15:33:16 +00:00
Gabor Hojtsy
ab16992e69 Mark events with special <span>s based on country 2003-05-03 15:31:04 +00:00
Sara Golemon
09b6cda9e4 Some mirrors (us2 for example) run PHP versions prior to 4.2 which do not allow ommitting the maxlen parameter from fgets() 2003-05-02 23:28:34 +00:00
Gabor Hojtsy
287529c1b4 ip-to-country code is now always included 2003-05-02 21:17:28 +00:00
Gabor Hojtsy
f0ac4a2f3d Apply E_ALL fixes provided by Hans Zaunere
with slight modifications

Also remove all whitespace at the end of lines

Use !empty() instead of isset() in sidebar checking,
so it will work if the variable is set, but empty
2003-05-02 20:56:38 +00:00
Gabor Hojtsy
701059352b Let the ip-to-country code be part of the site 2003-05-02 20:05:46 +00:00
Gabor Hojtsy
94552ceeaf Drop out a few spaces, and simulate cookie
setting for the first time the cookie is set
2003-05-02 20:05:09 +00:00
Gabor Hojtsy
a3e05de054 Add first ip-to-country code for testing.
Also add testing code to the sitemap (which
is not a publicly linked page, so can be used for
testing I assume)
2003-05-02 13:59:19 +00:00
Gabor Hojtsy
84ccc7e311 Really align the tables centered with <div>
Write out real mirror name instead of dumb
looking "this", as the current mirror is marked
with two other things anyway
2003-05-01 13:26:24 +00:00
Gabor Hojtsy
698a7304f9 $page_creation_start should be global
for this measuring to work...
2003-05-01 13:11:11 +00:00
Gabor Hojtsy
683f853079 Add getmicrotime() and measure page creation
time from prepend.inc to commonFooter()

Remove ending ?> from files for header() safety
reasons
2003-05-01 12:17:54 +00:00
Gabor Hojtsy
e64aa2afa4 No need for the MIRROR_ constants, as
they are always defined in mirrors.inc

Also remove the ending ?> for header() safety
reasons
2003-05-01 11:49:26 +00:00
foobar
ac1e2f647d Announce RC2 2003-04-28 22:22:21 +00:00
Rasmus Lerdorf
12174dc1d6 typo 2003-04-27 08:24:06 +00:00
Gabor Hojtsy
7369c4e209 Add newsfeed to sitemap 2003-04-26 19:50:08 +00:00
Gabor Hojtsy
8eaee5bd0c Move the whole last year out of the
index page, so it displays much more
quickly and comsumes less bandwidth
2003-04-26 19:48:50 +00:00
Gabor Hojtsy
a03f593a6c Remove the <url-minder-ignore> tags
as the company is no more operational,
and anyway, these tags were ugly...

Also as there were only to /udmcomments,
and no opening ones, try to consolidate them.
=> adding the header and footer inside
udmcomments, so those won't be indexed
in the  new mnogosearch experiment (on pl.php.net)
2003-04-26 16:17:57 +00:00
Gabor Hojtsy
90271a87bd - Add CVS id to the top, so we know what version
a mirror (and the main site) runs, in case of bugreports
- Move the ugly copy-paste table to an array and some
  genaretion code
- Display directly the browser's Accept-language settings,
  as discussed publicy with Andrew
2003-04-26 14:24:54 +00:00
Gabor Hojtsy
13848b8956 Move my.php.net to the right side, it does not
make sense between documentation and faq,
which are closely related
2003-04-26 14:10:10 +00:00
Gabor Hojtsy
55f45cfdb7 Readding the newly active Hungarian PHPinfo site 2003-04-26 12:38:30 +00:00
Gabor Hojtsy
a48e9ac474 Add info that there is an easier way to
unsubscribe for most of the lists.
2003-04-26 12:36:08 +00:00
Rasmus Lerdorf
79bfe89951 . 2003-04-26 08:39:53 +00:00
Andrew Lindeman
f555680ac1 revert -- this probably isn't a good idea after all... 2003-04-25 22:51:23 +00:00
Andrew Lindeman
3209d326ff Don't display submit button if there were errors (make people correct
errors and re-preview the post before submit)
2003-04-25 22:49:49 +00:00
Gabor Hojtsy
2ff6abd555 Adding some space before the user notes 2003-04-25 17:49:58 +00:00
Gabor Hojtsy
f6fa4bf3a5 Put the internals name is quotes 2003-04-25 12:23:38 +00:00
Gabor Hojtsy
d4a57bf01d Make the $SEARCH_BASE creation independent, fixing bug #23336 2003-04-25 12:06:08 +00:00
Andrew Lindeman
73408895d8 php-dev -> internals 2003-04-25 11:43:11 +00:00
Andrew Lindeman
9fb0d7c305 fix image reference 2003-04-25 00:15:13 +00:00
Andrew Lindeman
0e91e93722 add my php.net to the menu 2003-04-24 23:58:11 +00:00
Andrew Lindeman
1ceac94560 prevent the same language from being displayed twice (as was happening
with me)
2003-04-24 11:54:08 +00:00
Gabor Hojtsy
531310e385 Adding first version of sitemap 2003-04-24 08:35:14 +00:00
Gabor Hojtsy
7d290804a8 The images are now in the images dir 2003-04-24 08:06:24 +00:00
Gabor Hojtsy
8caa25fc10 Announce our 'new' My PHP.net feature 2003-04-24 07:28:01 +00:00
Gabor Hojtsy
b6ce8a575b Provide information on the 'new' My PHP.net
feature (language detection), modify the description,
so it does not state that mirror site default language
is used which is no more true

Also modify all links to be relative, instead of php.net
based, so the mirror site will print out examples using
it's own address. This probably strengthens the fact,
that URL shortcuts are available on mirrors.

Add langchooser to 'get it on your site' part (though I
think noone would like to dig into this anymore just
to get the feature on his site, this just got too complex
for a newcomer).
2003-04-24 07:20:25 +00:00