summaryrefslogtreecommitdiff
path: root/themes/goofy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-18 20:40:21 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-18 20:40:21 +0000
commit8e94fe162587c3285554cd3f0eb87a43ffc079b0 (patch)
tree110ac86e2979b80e709f672b3efe88d5d272ca4d /themes/goofy
parent73ad4c765889050c1bf91b93b50b5b3cac5ecd40 (diff)
downloadbrdo-8e94fe162587c3285554cd3f0eb87a43ffc079b0.tar.gz
brdo-8e94fe162587c3285554cd3f0eb87a43ffc079b0.tar.bz2
- structure.inc: added category_name($cid) and topic_name($tid).
They both return a linked string with the respective category, or topic name. Updated all themes to use these new functions. - (stripped tabs from emsa files, nevermind)
Diffstat (limited to 'themes/goofy')
-rw-r--r--themes/goofy/goofy.theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme
index 69b988730..f60fbfb92 100644
--- a/themes/goofy/goofy.theme
+++ b/themes/goofy/goofy.theme
@@ -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=\"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="lgcnt" nowrap><div align="right"><?php echo category_name($story->cid) ." / ". topic_name($story->tid); ?></div></td>
<td class="lgr"><img src="themes/goofy/images/null.gif" alt=""></td>
</tr>
<tr>