diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-28 07:03:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-28 07:03:47 +0000 |
commit | 3f2b0e0b3f0322dac929bb997a331cb7c021f295 (patch) | |
tree | 01940cabb5f1b50c16822e8585092ab9cee543ce /modules/story/story.module | |
parent | 6bb49b4bb8d7c73e1cce62e27375559b9837b898 (diff) | |
download | brdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.gz brdo-3f2b0e0b3f0322dac929bb997a331cb7c021f295.tar.bz2 |
Flushing my backlog (in case Natrak wants to make more changes):
- tidied up some of the code
- fixed a small problems
Diffstat (limited to 'modules/story/story.module')
-rw-r--r-- | modules/story/story.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/story/story.module b/modules/story/story.module index 06ace2f70..dc557a4c5 100644 --- a/modules/story/story.module +++ b/modules/story/story.module @@ -193,9 +193,9 @@ function story_block() { $content .= "<LI><A HREF=\"node.php?id=$story->id\">". check_output($story->title) ."</A><BR><SMALL>(". format_plural($story->comments, "comment", "comments") .")</SMALL></LI>\n"; } - $blocks[0]["subject"] = "Top 10:<BR>all stories"; - $blocks[0]["content"] = $content; - $blocks[0]["info"] = "Top 10: all stories"; + $blocks[0][subject] = "Top 10:<BR>all stories"; + $blocks[0][content] = $content; + $blocks[0][info] = "Top 10: all stories"; unset($content); @@ -204,9 +204,9 @@ function story_block() { $content .= "<LI><A HREF=\"node.php?id=$story->id\">". check_output($story->title) ."</A><BR><SMALL>(". format_plural($story->comments, "comment", "comments") .")</SMALL></LI>\n"; } - $blocks[1]["subject"] = "Top 10:<BR>recent stories"; - $blocks[1]["content"] = $content; - $blocks[1]["info"] = "Top 10: recent stories"; + $blocks[1][subject] = "Top 10:<BR>recent stories"; + $blocks[1][content] = $content; + $blocks[1][info] = "Top 10: recent stories"; return $blocks; */ |