1
0
mirror of https://github.com/php/web-php.git synced 2026-04-25 07:58:04 +02:00
Commit Graph

700 Commits

Author SHA1 Message Date
Gabor Hojtsy 4049f9b45a Adding some explanation on why SERVER_NAME and
HTTP_HOST are used (it is intentional, those are
not the same!)
2002-12-22 23:16:03 +00:00
Gabor Hojtsy daf004fd7e Introduce the MIRROR_VIRTUAL type, which is for mirror
site information created on the fly (unofficial mirrors).
We may exlude them from several operations. Now only
the official mirror list will exlude thesekind of
mirrors. Intentionally there should be only one VIRTUAL
mirror in the $MIRRORS array...
2002-12-22 13:17:58 +00:00
Gabor Hojtsy c77c56ecd3 Add function to get country information.
Put function starting braces on new lines,
as other functions are defined now...
2002-12-21 19:06:35 +00:00
Gabor Hojtsy 5c1c12ac2f James says, that download mirrors should not be forgotten 2002-12-21 14:02:21 +00:00
Gabor Hojtsy 0f0ea9a2ff Removing geoip include to make pages run quicker.
Also adding comment into geoip include file, that
it is there for future use (not left there from
sometime from the past).
2002-12-21 13:39:30 +00:00
Gabor Hojtsy d30df5d135 Update site.inc to support new $MIRRORS array element:
- Add mirror_status() function to get status of one
   mirror from the array

 - Add optional site parameters to mirror functions to
   get info of one particular mirror. Makes the direct
   access of the $MIRRORS array in some places
   removable.

 - Make constant definitions conditional, in case the
   new mirror list is used, which defines and uses
   the constants itself

 - Move languages list into separate include file (much
   like mirrors and countries are in separate files)

 - Use _SERVER array to get site name

 - Update default mirror array element to new structure
2002-12-21 12:26:15 +00:00
Gabor Hojtsy b494b203c2 Adding MQ variable used instead of
calling get_magic_quotes_gpc, because it's short ;)
2002-12-21 11:09:50 +00:00
Gabor Hojtsy ba1bfc856a Make all these files short_open_tags = off compatible.
As far as I have seen all the other files use the standard
<?php tag, which should be used in all places!
2002-12-16 20:02:27 +00:00
Gabor Hojtsy a1c268c9e0 Ups, changing nosource to wholesite here too... 2002-12-16 17:59:25 +00:00
Gabor Hojtsy 64c98167f3 Hey, "none" is not a valid value for the stats flag (1/0) 2002-12-15 21:31:37 +00:00
Gabor Hojtsy e116ff7d90 The $MIRRORS array structure is now in mirror.inc
(where is should be), so there is one place to look
for structure and information.
2002-12-15 21:23:57 +00:00
Gabor Hojtsy cb76709977 Add unset_variables() for future use 2002-12-14 19:38:03 +00:00
Gabor Hojtsy c56145e9d5 Ups, some language modifications and adding success
return value to function (in case someone would like
to check it)
2002-12-14 19:05:41 +00:00
Gabor Hojtsy 009b8c3d11 Add the import_vars() function to make our life easier
in cases, when we need to import some variables from
an array into the global scope. This ensures security
if used properly, as no other variable can snap into the
global scope, only those explicitly requested.

This function is for future use in phpweb scripts.
2002-12-14 19:03:08 +00:00
Gabor Hojtsy 390b2c4c9f We don't use $LANG anymore in the borderTOC 2002-12-14 14:24:42 +00:00
Gabor Hojtsy a93863e864 Add some code to handle variables nicely in scripts,
and a bit cleaning up (same comment signs, using
include_once, etc.)
2002-12-14 12:41:50 +00:00
Gabor Hojtsy 9a7d0e1d16 OK, so get rid of the redundancy, the search box leads
to exactly the same results as the lookup box on manual
pages. There is no need to have both of them...
2002-12-14 12:12:37 +00:00
Gabor Hojtsy 07e33a3c23 Make manual pages more accessible (reflect functionality
and how images look in the alt text).
2002-12-08 12:33:56 +00:00
Gabor Hojtsy 0c57e6814c Modify alt attribute of images, so the title won't
appear two times in no-image browsers.
2002-12-07 12:51:48 +00:00
Gabor Hojtsy 1aa2fdcda1 It's december again, so we get a bit snowish ;) 2002-12-01 18:45:42 +00:00
Gabor Hojtsy 1da94f42db Fixing XSS bug reported by Stefan Esser (and Derick) 2002-11-26 20:41:26 +00:00
Gabor Hojtsy a201adc564 Adding safe email printing to printed pages 2002-11-15 20:03:16 +00:00
Gabor Hojtsy e852e5c599 Ok, so try out this navigational stuff with the printed pages... 2002-11-09 15:27:15 +00:00
Gabor Hojtsy 7c8da58bdb Removing note which is now inaccurate 2002-10-30 09:29:27 +00:00
Gabor Hojtsy e74cac490f Doh, we need " &nbsp;" because of odd number of spaces
sometimes at the begining of the line...
2002-10-30 09:12:12 +00:00
Gabor Hojtsy 8f31b9fab7 Put nbsp before space (for line begining) 2002-10-30 08:43:13 +00:00
Gabor Hojtsy d603b53cfe Preserve spacing in examples 2002-10-30 08:42:00 +00:00
Gabor Hojtsy 588717d624 Adding scrollbar for editbox 2002-10-21 07:28:53 +00:00
Gabor Hojtsy fb8471a8d3 And the last accesskey fix 2002-10-19 10:19:18 +00:00
Sander Roobol d5c02b88a4 Another Cmd->Ctrl fix 2002-10-18 14:26:08 +00:00
Gabor Hojtsy e2eae6c424 Adding shortcut keys to search and lookup input fields. 2002-10-17 12:16:19 +00:00
James Cox 7a37bfdde6 #how i missed this i don't know.. 2002-09-24 17:54:28 +00:00
Derick Rethans 8868912970 - Really fix it now :) 2002-09-19 11:11:01 +00:00
Derick Rethans 96a0755f8b - Add zh as alias for zh_cn 2002-09-19 10:00:19 +00:00
Derick Rethans 0144290d35 - Correct Chinese entries 2002-09-15 19:41:46 +00:00
Gabor Hojtsy 840926f854 Put all globals to the top, so we can easily find what's global in the function 2002-09-15 10:45:25 +00:00
Colin Viebrock 5a9899227f change download mechanism to show mirror sites 2002-09-09 17:35:41 +00:00
Gabor Hojtsy 88ec969ffc Use <code> instead of <p> so we can have it with
fixed width font, which is much more suitable for
code examples then the proportional font used now...
2002-08-17 11:04:21 +00:00
James Cox facebe04a6 stop using pre -- doesn't do linewrapping very well 2002-08-16 18:36:34 +00:00
James Cox 843c6c7c60 quite pleasant here in the bay. 2002-08-16 18:32:44 +00:00
James Cox 1e4684256d obfusicate emails. 2002-08-16 17:48:11 +00:00
Gabor Hojtsy ae07231734 As James deleted the mirror dropdown, there is no need for the form,
it just takes space and bandwidth...
2002-08-13 12:44:53 +00:00
Gabor Hojtsy fd1a528086 Consistent layout, correcting comment about mirror array structure 2002-08-13 12:20:03 +00:00
Gabor Hojtsy 5e6344f707 James Cox asked me to make these modifications following this changes in
layout limitations
2002-08-13 12:11:20 +00:00
James Cox fc44869164 Part of our getting the new server is that we allow the hosting provider to display a banner. We would like to give other mirrors this opportunity too -- instructions in the readme.
also, some mirror redirection stuff ended up in here, but i felt it important to commit (with commented out code) and start from there, as my code was getting quite stale.
2002-08-13 02:14:44 +00:00
James Cox 0fcee10f21 adding the geoip-in-php as done by jimw. 2002-08-13 00:30:40 +00:00
Marko Karppinen 4d7d71c0ae Added mailing lists to the main navig. They deserve a spot
there, and there's plenty of space.
2002-08-11 17:43:29 +00:00
Gabor Hojtsy 21bfbc0757 Add printwn to list of links, and somewhat reformat the links to
print pages...
2002-08-03 15:29:27 +00:00
Gabor Hojtsy 39ff02c400 Add a <hr> after every note [50% width, center aligned] 2002-08-03 15:22:47 +00:00
Gabor Hojtsy be547b174e Adding a comment that these are all printer friendly functions 2002-08-03 13:44:51 +00:00