diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-04-10 10:28:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-04-10 10:28:23 +0000 |
commit | 79b016d915d64425af460fd424627668e2b4a2d0 (patch) | |
tree | c5363a2e9c451b10be1ee26f222c60621e2e4a4b /themes | |
parent | ee08784f880fb214d882da6338fdc7c9b6c797c3 (diff) | |
download | brdo-79b016d915d64425af460fd424627668e2b4a2d0.tar.gz brdo-79b016d915d64425af460fd424627668e2b4a2d0.tar.bz2 |
- Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php. The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:
block-user-0.tpl.php --> block-user-navigation.tpl.php
block-user-1.tpl.php --> block-user-login.tpl.php
You get the picture.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/style-rtl.css | 6 | ||||
-rw-r--r-- | themes/garland/style.css | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/themes/garland/style-rtl.css b/themes/garland/style-rtl.css index 180c57171..ec6432d99 100644 --- a/themes/garland/style-rtl.css +++ b/themes/garland/style-rtl.css @@ -220,17 +220,17 @@ html.js fieldset.collapsed legend a { /** * Syndication Block */ -#block-node-0 h2 { +#block-node-syndicate h2 { float: right; padding-right: 0; padding-left: 20px; } -#block-node-0 img { +#block-node-syndicate img { float: left; } -#block-node-0 .content { +#block-node-syndicate .content { clear: left; } diff --git a/themes/garland/style.css b/themes/garland/style.css index 555d3fb0f..d1ca3c870 100644 --- a/themes/garland/style.css +++ b/themes/garland/style.css @@ -865,17 +865,17 @@ html.js fieldset.collapsed legend a { /** * Syndication icons and block */ -#block-node-0 h2 { +#block-node-syndicate h2 { float: left; /* LTR */ padding-right: 20px; /* LTR */ } -#block-node-0 img, .feed-icon { +#block-node-syndicate img, .feed-icon { float: right; /* LTR */ padding-top: 4px; } -#block-node-0 .content { +#block-node-syndicate .content { clear: right; /* LTR */ } |