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
Gabor Hojtsy
76567d8150
Ups, only count active mirrors
2003-05-03 20:11:20 +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
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
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
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
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
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
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
2ff6abd555
Adding some space before the user notes
2003-04-25 17:49:58 +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
Gabor Hojtsy
46b8602758
Prevent any funny guys from stealing our links...
2003-04-23 16:51:52 +00:00
Gabor Hojtsy
d3be9d1174
Provide a base URL for relative PHP.net links on the search page
...
[and only on the search page], so when someone uses remote searching,
he can get back to the original mirror with any relative link on the
page.
2003-04-23 16:50:59 +00:00
Gabor Hojtsy
a400604e0f
Applying a better solution for the problem,
...
preconfiguring page details in the already
existing page configuration array, and using
the information from there in the new XSL
sheets => results in slightly smaller PHP files
2003-04-21 19:27:16 +00:00
Gabor Hojtsy
ec8c8e6152
Let the XSL sheets be happy with different parameter
...
order (this code can be removed if XSL sheets are used
exclusively for phpweb file generation)
2003-04-21 19:10:03 +00:00
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