Go to file
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
database - Added blog.module to replace diary.module (contrubeted by Julian): 2001-07-11 22:06:24 +00:00
includes 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
misc - Added blog.module to replace diary.module (contrubeted by Julian): 2001-07-11 22:06:24 +00:00
modules - import.module: 2001-07-14 00:05:30 +00:00
scripts - Changed 'drop' to 'drupal'; a left-over from the old days, I guess. 2001-06-15 11:07:27 +00:00
themes 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
updates - cloud.module: 2001-07-13 19:51:42 +00:00
.htaccess - Renamed syndication.module to import.module. 2001-05-28 18:53:48 +00:00
CHANGELOG - Updated CHANGELOG 2001-07-07 07:34:02 +00:00
INSTALL - a bunch of various updates 2001-04-05 20:33:36 +00:00
LICENSE - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
account.php - Fixed "Recent nodes" showing not showing "No nodes recently" in 2001-07-12 15:14:15 +00:00
admin.php - import.module: 2001-07-07 13:07:03 +00:00
cron.php CHANGES: 2001-05-19 13:41:52 +00:00
error.php - Fixed bug in error.php 2001-07-06 07:44:44 +00:00
export.php - Renamed syndication.module to import.module. 2001-05-28 18:53:48 +00:00
favicon.ico I whipped up a favicon to please our IE using users... 2001-01-04 15:21:43 +00:00
index.php - Fixed typo. 2001-06-30 07:59:18 +00:00
module.php - Merged "system settings" and "module settings" into one page. IMHO 2001-06-17 20:35:48 +00:00
node.php - Made search.php a module, being search.module. 2001-06-30 09:50:36 +00:00
robots.txt Again, a large batch of updates - I'm twisting things around here: 2000-12-16 08:39:01 +00:00
submit.php - Tidied up submit.php (submission page) a bit. 2001-07-07 10:32:17 +00:00