From a45fc1a20e1e9b8bf64c286db7a672d3954e88d9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 24 Mar 2001 17:50:08 +0000 Subject: - themes now get there header/footer links through theme_link(); - tidied up example.theme --- themes/example/example.theme | 102 +++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 62 deletions(-) (limited to 'themes/example/example.theme') diff --git a/themes/example/example.theme b/themes/example/example.theme index 73037482e..15787c598 100644 --- a/themes/example/example.theme +++ b/themes/example/example.theme @@ -17,9 +17,14 @@ Logo? - + @@ -40,7 +45,7 @@ function story($story, $reply = 0) { ?> -
- + + + +
+
"; + echo " "; + echo " "; + echo " "; + + // Body of comment: + echo " "; + echo " "; + echo " "; + echo "
title); ?> @@ -106,59 +111,41 @@ echo "cid\">\n"; // Create comment header: - echo " "; + echo "
"; echo " "; echo " "; echo " "; - echo "
"; - echo " "; - echo " "; - echo " "; - echo " "; - echo "
"; - echo " "; - echo " "; - echo " "; - echo " "; - - // Print body of comment: - if ($comment) echo " "; - - // Print bottom link(s): - echo " "; - echo "
"; - echo " "; - - // Subject: - echo " "; - echo " "; - echo " "; + echo t("Subject") .":"; + echo " "; + echo " "; // Moderation: - echo " "; - echo " "; - - // Author: - echo " "; - echo " "; - echo " "; - - echo "
"; - echo " ". t("Subject") .":"; - echo " "; - echo " ". check_output($comment->subject); - echo " "; + echo " ". check_output($comment->subject); + echo " "; - echo comment_moderation($comment); - echo "
". t("Author") .":". format_username($comment->userid); - - // Date: - echo " on ". format_date($comment->timestamp); - echo "
"; - echo "
" . check_output($comment->comment, 1) ."
$link
"; - echo "
"; + echo "
"; + echo comment_moderation($comment); echo "
"; - echo "
"; + // Author and date: + echo "
"; + echo t("Author") .":"; + echo " "; + echo format_username($comment->userid) ." on ". format_date($comment->timestamp); + echo "
"; + echo check_output($comment->comment, 1); + + // Print navigation / control links: + echo "

$link

"; + echo "
"; } // close comment function function box($subject, $content, $options = "") { @@ -224,20 +211,11 @@ - - - - - - - - -
- - Home Faq Search Diary Submit news Account -
+ + - -- cgit v1.2.3