From 02e344403ac2b9c3eeadc86ff2853eda6dd90959 Mon Sep 17 00:00:00 2001 From: Jeroen Bensch Date: Sat, 10 Mar 2001 15:14:08 +0000 Subject: [PATCH] OK, lets hope this works... I should've added a directory example/ in themes/ and in example/ there should be example.theme Jeroen. --- themes/example/example.theme | 253 +++++++++++++++++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 themes/example/example.theme diff --git a/themes/example/example.theme b/themes/example/example.theme new file mode 100644 index 00000000000..ffcb57b2819 --- /dev/null +++ b/themes/example/example.theme @@ -0,0 +1,253 @@ + + + + + + <? echo $site_name; ?> + + + + + + + Logo? + + + + + + + + + + + + +
+ +
+ + + + + +timestamp); + +?> + + + + + + + + + + + + + + + +
+ subject) .""; ?> +
+ + format_username($story->userid), "%b" => $timestamp, "large")) ."; + + section) ."\">$story->section"; + +?> + +
+ +". check_output($story->abstract, 1) ."

"; + if ($story->updates) + echo "

". t("Editor's note by editor\">$story->editor") .":". check_output($story->updates, 1) ."

"; + if ($reply) + echo "

". check_output($story->article, 1) ."

"; + +?> +
+ + + +
+
+ +timestamp); + echo "cid\">\n"; + + // Create comment header: + echo " "; + echo " "; + echo " "; + echo " "; + echo "
"; + echo " "; + echo " "; + echo " "; + echo " "; + echo "
"; + echo " "; + echo " "; + echo " "; + echo " "; + + // Print body of comment: + if ($comment) echo " "; + + // Print thread (if any): + if ($thread) echo " "; + + // Print bottom link(s): + echo " "; + echo "
"; + echo " "; + + // Subject: + echo " "; + echo " "; + echo " "; + + // Moderation: + echo " "; + echo " "; + + // Author: + echo " "; + echo " "; + echo " "; + + echo "
"; + echo " ". t("Subject") .":"; + echo " "; + echo " ". check_output($comment->subject) .""; + echo " "; + echo comment_moderation($comment); + echo "
". t("Author") .":". format_username($comment->userid) .""; + + // Date: + echo " on ". $timestamp .""; + echo "
"; + echo "
" . check_output($comment->comment, 1) ."
$thread
$link
"; + echo "
"; + echo "
"; + echo "
"; + + } // close comment function + + function box($subject, $content, $options = "") { + +?> + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + +
+ +
+
+
+ + + +
+ + + +
+ + + + + + +
+ + HomeFaqSearchDiarySubmit newsAccount +
+
+ + +