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

53 Commits

Author SHA1 Message Date
Levi Morrison
72e6b7738d Added option to site_header to allow a custom span(for twitter bootstrap). Calendar page needed this. Other minor updates. 2013-07-10 15:31:16 -06:00
Adam Harvey
0f25c08b5e Stop abusing the current element of the page configuration, and instead add a
proper option to set body classes if appropriate.
2012-09-07 16:34:28 +08:00
Adam Harvey
e61828f07a Add calendar styling: this isn't perfect, but it's a tonne better than what we
had, which was nothing.
2012-08-31 17:56:36 +08:00
Hannes Magnusson
60d5c3b903 Add current config option (ignored in old-web), and FIXME placeholders for pages
not in any menu yet
2010-12-28 11:09:09 +00:00
Adam Harvey
a74b0895b9 Fix bug #52204 (htmlentities E_WARNINGs). Patch by Kalle. 2010-10-29 12:08:16 +00:00
Hannes Magnusson
b41ebd4228 entitify quotes and use utf8 (patch by Johannes) 2007-06-04 16:57:57 +00:00
Gabor Hojtsy
f4fc2363ff allow a year ahead to be displayed 2003-12-31 13:04:27 +00:00
Gabor Hojtsy
d14c7cb10f The CSS validator don't seem to like _ in a classname, so avoid
that, and also use a more appropriate cat# naming, as we refer
to categories here
2003-08-16 12:32:02 +00:00
Gabor Hojtsy
69a019d366 Add category class to event links, so we will be able to color them
differently, and also drop the BC code for 12 data elements, as we
always have 13 now for all events
2003-08-15 10:30:44 +00:00
Gabor Hojtsy
7b4634bc7a Do not depend on strict violating bgcolor specifications, and
also remove the need for register_globals with direct linking
2003-08-14 21:55:46 +00:00
Gabor Hojtsy
e30ed1aa3d Migrate more pages to use the new header and footer functions 2003-08-14 11:56:42 +00:00
Gabor Hojtsy
eeafa72a9a Apply new include and base page code
Use _GET instead of depending on register_globals
2003-08-09 14:44:41 +00:00
Rasmus Lerdorf
2fccf6c82b Uh, forgot to run php -l on this one 2003-06-01 15:54:23 +00:00
Rasmus Lerdorf
ddc3732b3b More work on the event categorization 2003-06-01 15:52:37 +00:00
Gabor Hojtsy
f1dd4aaa39 Display local events in bold on the calendar page too
Also polish the display_event function and print out
the country information too about the event in brackets
2003-05-12 11:48:36 +00:00
Gabor Hojtsy
a5d5ab8758 Only allow the same year. The events.cvs file only contains data for
this month and the coming two months, starting from today, so providing
information for the future or the past is only an illusion. Only the
recurring events are displayed on those pages, so there is no point in
serving them.
2003-01-15 17:04:21 +00:00
Gabor Hojtsy
44bf48e753 Introduce the limit for year values. Two years back
is allowed for historical reasons, two years forward
is allowed for those organizers who know two years in
advance, what they will present...

This should make the cal page indexable by local search
engines too...
2002-12-16 17:25:10 +00:00
Gabor Hojtsy
bf59c32a11 New, commented version of cal.php
- Indentation standardisation
  - Added several comments
  - Made some file reads and variable
    checks more error-proof, so it gracely
    degrades from more problematic situations

Still nothing done about year problems, I am on it...

Goba
2002-12-16 17:03:23 +00:00
Rasmus Lerdorf
3e63cfad20 Make cal.php E_NOTICE clean 2002-11-22 18:19:13 +00:00
Simone Cortesi
9a84c4eea7 fixing bug 17796: slash problem on calendar 2002-06-19 00:46:09 +00:00
jim winstead
5ca715d696 be less hamhanded about fixing xss problem. 2002-05-02 18:09:47 +00:00
James Cox
164b1a1dc7 /me grumbles something about people not having anything better to do 2002-05-02 05:45:19 +00:00
jim winstead
222ff1f075 rewrote cal.php to get data from backend/events.csv. phpweb is once again
mysql-free. also got rid of events.php, since cal.php can now display info
about particular events. the calendar should look essentially the same, modulo
smaller default text, and some small css tweaks (mainly to put a divider
between events -- i could never tell them apart before).

one small thing to add would be a remove button to events a-la the
manual notes when the magic cookie is set.
2002-03-05 02:54:19 +00:00
jim winstead
5dac60f00a strip out event adding/editing. lives in submit-event.php and on master.php.net now. 2002-03-04 21:22:08 +00:00
Georg Richter
59a1cdfb85 Fixed bug #15640 (non closing th,td,tr) 2002-02-20 07:27:00 +00:00
James Cox
217d89f1de emacs adds whitespace - at least for when i use it. 2002-01-28 21:56:15 +00:00
James Cox
aa558b57b9 new fields to the calender. Changes primarily by georg@php.net - Georg Richter.
Blame him if it breaks :)
2002-01-28 21:53:06 +00:00
jim winstead
d45a530b1d fix insert queries. 2002-01-28 21:25:13 +00:00
jim winstead
d8ee027a52 use is_primary_site() function 2002-01-09 00:48:38 +00:00
Gabor Hojtsy
c514283aab A reciprocal location redirect was corrected. A mirror
realized, that he is not the primary site, then redirected
to php2.chek.com, but that is again not the primary site,
so redirected to php2.chek.com and so on... Now test for
php2.chek.com
2001-12-22 12:27:44 +00:00
Rasmus Lerdorf
ac9ded680d Run cal.php from php2.chek.com 2001-12-03 07:17:47 +00:00
jim winstead
f13093c8e8 more fixes for backup primary 2001-09-19 18:04:02 +00:00
Gabor Hojtsy
697f8d47b6 At least stop that error message 2001-09-19 16:25:49 +00:00
Rasmus Lerdorf
fa1b14d3e3 Fix for #12429 2001-07-27 18:06:13 +00:00
Rasmus Lerdorf
2cfa8af31a Add upcoming events to the right sidebar. A bit of an experiment here.
I have mirror sites fetching a CSV from www.php.net once every 6 hours.
As far as I can tell this should work just fine, but let's keep an eye
on this concept and see if it actually does.  The code is written such
that if for some reason a mirror can't get or can't save the CSV, it still
works but just doesn't show the upcoming events.
2001-07-22 08:47:06 +00:00
Gabor Hojtsy
69e52a62eb Whitespace at the top, whitespace at the bottom 2001-07-14 12:12:41 +00:00
Rasmus Lerdorf
1718c3a395 Uh, bad logic there 2001-07-13 20:44:29 +00:00
Jacques Marneweck
eb28833144 * The "approved by" gets set to the person's cvs username that approved the
event, previously was hardcoded to rasmus.

--jm
2001-07-13 04:24:02 +00:00
Jacques Marneweck
d8163d1b66 * Redirect to the primary site if the mirror the page is being viewed on
is not the primary site.

--jm
2001-07-13 03:24:01 +00:00
Rasmus Lerdorf
3ae7955743 Show event URL 2001-07-12 18:21:05 +00:00
Rasmus Lerdorf
fc07af2bf3 Oops, we already have a built-in way to not enclose the page content in
a table
2001-07-12 18:13:52 +00:00
Rasmus Lerdorf
9a3350922c I'd like to have the full width available for this thing... 2001-07-12 18:02:49 +00:00
Rasmus Lerdorf
81bc6b208c Missing ; 2001-07-12 17:52:41 +00:00
Rasmus Lerdorf
5c1b333a96 Hey, stop screwing up my calendar! ;) 2001-07-12 17:50:59 +00:00
Rasmus Lerdorf
7c5c661968 Use ini_get() instead of get_cfg_var() 2001-07-12 17:39:56 +00:00
Gabor Hojtsy
2923d6db24 All our php.net pages are using the longer XML compatible
start tag (to be short_open_tag off compatible for XML
focused mirrors, etc.)
2001-07-12 14:03:37 +00:00
Gabor Hojtsy
7782e7acf3 PHP is printed by commonHeader() 2001-07-12 11:55:22 +00:00
Gabor Hojtsy
4a06d62b5a Adding some mousse around this (make it look like as
a php.net page)
2001-07-12 11:52:04 +00:00
Rasmus Lerdorf
16a907a10d Handle stripslashes() correctly 2001-07-11 21:45:15 +00:00
Rasmus Lerdorf
0ec74a7637 Fix some details 2001-07-11 21:36:27 +00:00