From 8e94fe162587c3285554cd3f0eb87a43ffc079b0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Apr 2001 20:40:21 +0000 Subject: - 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) --- themes/example/example.theme | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'themes/example/example.theme') diff --git a/themes/example/example.theme b/themes/example/example.theme index 8b7d608c8..32b7376de 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -60,15 +60,13 @@ format_username($story->userid), "%b" => format_date($story->timestamp, "small"))); ?> cid\">". check_output($story->category) ." / tid\">". check_output($story->topic) .""; - + echo category_name($story->cid) ." / ". topic_name($story->tid); ?> -- cgit v1.2.3