diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-08 08:16:23 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-08 08:16:23 +0000 |
commit | 3958a714cda4b04ab9bfa24c13711158ae45d17c (patch) | |
tree | 1d6ee60843158402f864c55340afc03deccd9ad4 /modules/block | |
parent | f516626a293edd613cb823db88e36dcf7e1fb8f4 (diff) | |
download | brdo-3958a714cda4b04ab9bfa24c13711158ae45d17c.tar.gz brdo-3958a714cda4b04ab9bfa24c13711158ae45d17c.tar.bz2 |
- some important changes to our theme API which can be summerized as:
abstract() + article() = story()
abstract() and article() have been merged into a new function story()
which looks like:
function story($story_object, $reply) {
if (!reply) {
// full story
}
else {
// main page version / abstract
}
}
This should allow you to "compress" your theme as abstract() and
article() tended to be 98% identical.
=> I didn't really merge your themes so I leave it up to *you* to
improved the code!!! Do it ASAP as we release drupal 2.00 in 7
days.
In future we'll have similar functions for other content types as
for example:
review($review, $reply);
enquete($enquete, $reply);
...
Diffstat (limited to 'modules/block')
0 files changed, 0 insertions, 0 deletions