diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-11 20:01:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-11 20:01:13 +0000 |
commit | c56ee67e29e89f5158801ba7bbe8f574a93215b4 (patch) | |
tree | 4004e19edda73708f7af1baffeb39318b3984509 /includes/theme.inc | |
parent | 8f315f4506220c50715ba81444326cc7fd936ed9 (diff) | |
download | brdo-c56ee67e29e89f5158801ba7bbe8f574a93215b4.tar.gz brdo-c56ee67e29e89f5158801ba7bbe8f574a93215b4.tar.bz2 |
- Changed field_set(), field_get() and field_merge() to use ',' and
'=' instead of ';' and ':'. It is considered to be more readable.
--> A _first_ step towards and improved index.module. Stay tuned
for more.
+ Important:
If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
- Changed all 'attribute' to 'attributes'.
+ Important:
If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
+ Important:
This might require to ieni-wieni small update to your custom
themes and/or node-related modules:
- themes: node_index($node->attribute) -> node_index($node)
- node modules: attribute -> attributes
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index d37b73cd9..fc34e68b3 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -113,9 +113,9 @@ function theme_blocks($region, $theme) { } function theme_moderation_results($theme, $node) { - foreach (explode(";", $node->users) as $vote) { + foreach (explode(",", $node->users) as $vote) { if ($vote) { - $data = explode(":", $vote); + $data = explode("=", $vote); $output .= format_username($data[0]) ." voted '$data[1]'.<BR>"; } } |