diff options
Diffstat (limited to 'themes/goofy/goofy.theme')
-rw-r--r-- | themes/goofy/goofy.theme | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme index 8acde2ae8..69b988730 100644 --- a/themes/goofy/goofy.theme +++ b/themes/goofy/goofy.theme @@ -88,7 +88,7 @@ <?php } - function story($story, $reply = 0) { + function story($story, $main = 0) { echo "\n<!-- story: \"$story->title\" -->\n"; ?> @@ -117,7 +117,7 @@ <tr> <td class="lgl"><img src="themes/goofy/images/null.gif" alt=""></td> <td class="lgcnt"><small><?php echo strtr(t("$how by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp, "large"))); ?></small></td> - <td class="lgcnt" nowrap><div align="right"><?php echo "<A HREF=\"search.php?category=". urlencode($story->section) ."\">". check_output($story->section) ."</A>"; ?></div></td> + <td class="lgcnt" nowrap><div align="right"><?php echo "<A HREF=\"index.php?category=$story->cid\">". check_output($story->category) ."</A> / <A HREF=\"index.php?topic=$story->tid\">". check_output($story->topic) ."</A>"; ?></div></td> <td class="lgr"><img src="themes/goofy/images/null.gif" alt=""></td> </tr> <tr> @@ -125,15 +125,13 @@ <td class="lgcnt" width="100%" colspan="2"><hr color="#404040" size="1"> <?php echo check_output($story->abstract, 1) . "<br>"; - if ($reply && $story->body) + if (!$main && $story->body) echo "<br>" . check_output($story->body, 1); ?> <hr color="#404040" size="1"><div align="right"> <?php - if (!$reply) + if ($main) echo theme_morelink($this, $story); - else - echo $reply; ?></div></td> <td class="lgr"><img src="themes/goofy/images/null.gif" alt=""></td> </tr> |