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

59 Commits

Author SHA1 Message Date
Gabor Hojtsy
1c995bf99d adding some margin around code examples 2004-03-03 19:10:43 +00:00
Gabor Hojtsy
855139905a Use a list instead of styled div for the manual TOC layout, because
- this is semantically correct
 - this uses *much* less markup
 - looks better in downlevel browsers (eg. NN4)

Also make the TOC link list appear in the normal font size of the
sidebar (which is a bit bigger then what is currently used, and easier
to read). It is still reasonably small IMHO.
2003-09-13 12:26:46 +00:00
Gabor Hojtsy
fdd52c40d4 Support the tip class on p here too 2003-09-12 16:30:17 +00:00
Gabor Hojtsy
e229929bcd Comment out the max rules for now 2003-09-11 19:05:01 +00:00
Gabor Hojtsy
3b7ebace22 Backport simple list formatting from new style sheet, for the frontpage 2003-08-24 13:32:43 +00:00
Gabor Hojtsy
a07a7a55aa Fix comments refering to JS to refer to the mirror specific CSS instead 2003-08-24 12:17:42 +00:00
Gabor Hojtsy
9a44fc9b96 Add styles for user notes 2003-08-20 13:36:05 +00:00
Gabor Hojtsy
aa917c5ffe -> Use the pregenerated events listing instead of generating it on
every request
-> Use a CSS styled list in the thanks listing instead of ugly  
   and line breaks
-> Use the new news_image shortcut function to print out the images
2003-08-16 08:45:16 +00:00
Gabor Hojtsy
be3cad9d34 Add centering style here too, so older pages will still display
these parts centered
2003-08-09 20:10:20 +00:00
Gabor Hojtsy
8ddc232c7e Only add a border around images, if explicitly specified 2003-08-08 18:57:19 +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
266bf58d0a Add indented block class 2003-07-29 11:31:21 +00:00
Gabor Hojtsy
c8ff9738f7 Better organisation and cleanup of header elements,
to make them take up much less space and be more
clear with their formatting
2003-07-28 11:32:11 +00:00
Gabor Hojtsy
6da102a979 Further optimize the "small" class 2003-07-28 11:21:26 +00:00
Gabor Hojtsy
e8048726fb - Move all the font information to one place
- Add the .warn class for warning on PHP pages
- Add standard tables (so we can remove the coloring
  info from HTML)
- Add maximized input field support
2003-07-28 11:14:53 +00:00
Gabor Hojtsy
7af7287389 Adding CSS code for new manual TOC, thus
getting rid of tables used there only for vertical
spacing reasons
2003-07-21 16:33:53 +00:00
Gabor Hojtsy
d12d5004b7 Use <span> tags, instead of <font>s for future
compatibility, and fix the case of the name in the
CSS
2003-07-20 13:06:16 +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
Gabor Hojtsy
4fb7d1081c Use real HTML headers instead of simultaing them with
formatting markup

Drop the reference to <div class="small"> which was nonexistent,
and introduce a month header class to not list the month names at
all events, but only as a header

Reflect the latest changes in the comments too
2003-06-05 18:46:22 +00:00
Gabor Hojtsy
cbe53a1cdb We don't need those borders either... 2003-05-14 20:32:10 +00:00
Gabor Hojtsy
ec1b4d6414 Make the horizontal bars look similar in Mozilla
then in Internet Explorer (black, one pixel high).
Also have hdelim()s in the same color all the time
2003-05-14 19:20:41 +00:00
Sara Golemon
8a1d148efc phpcredits() >= 4.3.0 requires these styles 2003-05-13 18:30:20 +00:00
Gabor Hojtsy
f68d72adaa Make our page be on white background.
This is also set in <body> but with this our
CSS will finally validate without any warnings
2003-05-12 12:04:16 +00:00
Gabor Hojtsy
44c0612239 Get a bit closer to standards.
- use CSS instead of proprietary margin attributes
 - remove table height attribute, as it was nonsene
   (the table was much higher that it was specified anyway)
 - use CSS class instead of <font> which is not allowed
   to contain anything but inline elements

Tested these changes on my local mirror, it seems to be
perfect [identical display to current php.net] with
Mozilla and Konqueror
2003-05-12 11:14:18 +00:00
Gabor Hojtsy
e13beb1bcb Remove underline from sidebar TOC elements 2003-01-25 11:59:11 +00:00
Gabor Hojtsy
007cb9daf0 Remove code size restriction. Now *tested* with IE6 and Mozilla default
settings, and after this change, the pages look the same (regarding font
sizes). Without this change, the code fonts are very small in Mozilla.
2003-01-23 21:49:33 +00:00
Colin Viebrock
f9a7611a83 better list spacing, makes the download page more legible 2002-09-17 18:41:23 +00:00
Gabor Hojtsy
0789a07eb8 Doh, inline elements won't be affected by padding... 2002-09-15 12:35:39 +00:00
Gabor Hojtsy
7bda3232c8 Try this out for the md5sums. Similar to newsdate 2002-09-15 12:03:58 +00:00
Colin Viebrock
dde9174b8b icky color defs ... 2002-08-28 20:41:49 +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
31a6bc587e this should make parameters look more realistic by adding a space after them in the manual, for clients that support css2. 2002-05-24 11:32:01 +00:00
Gabor Hojtsy
d237d9b0ae Adding thin form class 2002-05-14 21:14:38 +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
19fab46c7e function to display list of errors, and style for same 2002-03-03 20:47:07 +00:00
jim winstead
b146d9d59d remove font-size rule that screws up netscape 4.7x. 2002-02-03 17:37:06 +00:00
jim winstead
4b4619f0f8 verbose mailing list unsubscription instructions (to be linked via mailing list footer) 2002-02-03 01:37:53 +00:00
James Cox
a246dff731 ok, this is the last commit. I've just made the font size slightly smaller so it doesn't sprawl over the page as much as it did before. i promise i won't touch it again! :) 2002-01-30 22:11:26 +00:00
jim winstead
5d71f7aa60 revert style patch. does not play nicely with the caching.
just give it a rest!
2002-01-30 16:31:40 +00:00
James Cox
a0c33c08df ok, lets trial this out. to solve the problem everyone has with fonts (in that, everyone likes their own font, etc), i've added some functionality to specify default fonts / styles.... so it'll lay everything out depending on what your have in your cookie, with verdana being the default style. 2002-01-30 06:45:46 +00:00
James Cox
5b6c18dcd4 reverting justify style.. 2002-01-29 21:20:00 +00:00
James Cox
6a5450938e more changes to tidy up the style 2002-01-29 20:31:58 +00:00
James Cox
b4e79b6fb5 changes to verdana/sans-serif.
Overall, this makes the font easier to read. where none of the default fonts are installed, it'll use the default sans-serif font.
2002-01-28 22:36:42 +00:00
jim winstead
2d72d85eb4 highlight urls in notes, use <pre> instead of <tt> to preserve formatting, and say that html is disallowed entirely (although we still preserve <p>, </p>, and <br> until entries in the database are cleaned up). 2002-01-02 00:37:01 +00:00
jim winstead
a0a3ac54f7 new style for error messages when filling out forms 2001-10-19 23:21:07 +00:00
jim winstead
a48b59b4fd remove 'how much does it cost' text, tighten up the other text 2001-09-22 08:52:45 +00:00
Mark Kronsbein
ade1e9613c That didnt work ;( Font is still too big in <code> using Netscape. 2001-08-05 13:03:20 +00:00
Mark Kronsbein
28e8b8f8ec Lets check if this will solve the Problem with those very very big Fontsize used in <code> 2001-08-05 12:18:13 +00:00
Mark Kronsbein
9ca6b44d16 Whitespace only 2001-08-05 11:16:50 +00:00
Mark Kronsbein
e06d8b8bb3 Sorry, Rasmus was right... <p>s Font now looks okay in Netscape 2001-08-05 07:57:58 +00:00