drupal/themes/jeroen
Steven Wittens e62e3417f7 Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
Basically this is a 'nice version' of a hack that you could do as a theme author.
I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:

- Replace the box() declaration:
< function box($subject, $content) {
> function box($subject, $content, $region = "main") {

- Replace the theme_account call:
< theme_account($this);
> theme_account("region", $this);

Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
Usually the "region" here should be the same as the nearest theme_blocks() call.

Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
2001-07-14 01:01:45 +00:00
..
images Has he gone insane! No. I just (but that's just my opinion) made a major improvement to my theme. In one of my unentertained moments I often just browse to drop and stare at my theme for a while. ;) Then I saw that the border around my boxes was 2 pixels wide and grey. Cool. But I thought, let's try it the same way as I do the stories. With a slick 1 pixel wide black border. And so I did. And I admit, it just looks a whole lot better, slicker, smoother, professional. You probably won't notice it at all, and probably no-one would notice. But again, I'd advise you to take a look at http://jeroen.drop.org and look at the boxes before Dries updates these .gifs. Another thing, Unconed, you probably know more or this. What do you think I should use for my images? .gif or .png. What's the advantage of .png, and most of all, is it smaller in size? 2001-03-05 22:03:29 +00:00
jeroen.theme Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page. 2001-07-14 01:01:45 +00:00