diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-19 07:16:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-19 07:16:57 +0000 |
commit | 45ed041b1200c1944068be4d487623d90465ec95 (patch) | |
tree | ec1e48d3486b25756589216b6692304066c8456c | |
parent | 8e94fe162587c3285554cd3f0eb87a43ffc079b0 (diff) | |
download | brdo-45ed041b1200c1944068be4d487623d90465ec95.tar.gz brdo-45ed041b1200c1944068be4d487623d90465ec95.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)
-rw-r--r-- | themes/unconed/unconed.theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme index ed3a1b952..e78dd50ba 100644 --- a/themes/unconed/unconed.theme +++ b/themes/unconed/unconed.theme @@ -89,7 +89,7 @@ <TR><TD COLSPAN="2" BGCOLOR="<?php echo $this->bgcolor1; ?>" WIDTH="100%"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="100%"><FONT COLOR="<?php echo $this->fgcolor1; ?>"><B><?php echo "". check_output($story->title) .""; ?></B></FONT></td><td valign="middle" align="center"><IMG SRC="themes/<?php print $this->themename; ?>/images/icon.gif" valign="middle"></td></tr></table></TD></TR> <TR BGCOLOR="<?php echo $this->bgcolor2; ?>"> <?php - print "<TD WIDTH=\"70%\" BGCOLOR=\"$this->bgcolor2\"><SMALL>Posted by " . format_username($story->userid) . " on $timestamp</TD><TD WIDTH=\"30%\" BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B><A HREF=\"index.php?category=$story->cid\"><FONT COLOR=\"$this->sectioncolor\">". check_output($story->category) ."</FONT></A> / <A HREF=\"index.php?topic=$story->tid\"><FONT COLOR=\"$this->sectioncolor\">". check_output($story->topic) ."</FONT></A></B>"; + print "<TD WIDTH=\"70%\" BGCOLOR=\"$this->bgcolor2\"><SMALL>Posted by " . format_username($story->userid) . " on $timestamp</TD><TD WIDTH=\"30%\" BGCOLOR=\"$this->bgcolor2\" ALIGN=\"center\"><B>". category_name($story->cid) ." / ". topic_name($story->tid) ."</B>"; ?> </TD> </TR> |