From 16a6ea28e1b48501734e90d08dbef2a2e1cc12ed Mon Sep 17 00:00:00 2001 From: Jeroen Bensch Date: Wed, 10 Jan 2001 18:51:15 +0000 Subject: As I wrote in the mail, this is my .theme for now. Rather than sending the screenshot to all of you seperately, maybe you could just add a line for my theme in your .conf and test it. This for example: "Jeroen" => array( "themes/jeroen/jeroen.theme", "piped theme, grey/rusty, pretty nifty")); --- themes/jeroen/jeroen.theme | 561 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 561 insertions(+) create mode 100644 themes/jeroen/jeroen.theme (limited to 'themes') diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme new file mode 100644 index 000000000..76e07b82b --- /dev/null +++ b/themes/jeroen/jeroen.theme @@ -0,0 +1,561 @@ + + + + + <? echo $site_name; ?> - Tears of technology + + + + + + + + + + + + + "); + + if (strstr($PHP_SELF, "index.php")) { + global $user, $date; + + ### Display account: + displayAccount($this); + + ### Display calendar: + displayCalendar($this, $date); + + ### Display calendar: + displayOldHeadlines($this); + + ### Display voting poll: + displayPoll($this); + } + elseif (strstr($PHP_SELF, "account.php")) { + ### Display account settings: + displayAccountSettings($this); + + ### Display account: + displayAccount($this); + } + elseif (strstr($PHP_SELF, "submit.php")) { + ### Display account: + displayAccount($this); + + ### Display new headlines: + displayNewHeadlines($this); + } + elseif (strstr($PHP_SELF, "discussion.php")) { + global $id; + + if ($id && $story = id2story($id)) { + if ($story->status == 2) { + ### Display account: + displayAccount($this); + + ### Display related links: + displayRelatedLinks($this, $story); + + ### Display new headlines: + displayNewHeadlines($this); + } + else { + ### Display results of moderation: + displayModerationResults($this, $story); + } + } + else { + ### Display account: + displayAccount($this); + + ### Display new headlines: + displayNewHeadlines($this); + } + } + else { + ### Display new headlines: + displayNewHeadlines($this); + } + + ?> + + + + + + + +
+ + drop.org logo

+
+ + + + timestamp); + ?> + + + + + + + + + + + + + + + + + + + + + + + +
+ + subject) .""; ?> + +
+   + +   + userid) { + print "$how by userid\">$story->userid on $timestamp"; ?> + + category\">fgcolor3; ?>\">$story->category "; + } + else { + print "Reported to us by $anonymous on $timestamp"; ?> + category\">fgcolor3; ?>\">$story->category"; + } + ?> + +   +
+   + + + + + + + + +
+ updates) { + echo "

$story->abstract

hlcolor1\">Editor's note by editor\">$story->editor:$story->updates

"; + } + else { + echo $story->abstract; + } + ?> +
+ +
+
+ +
   
+ timestamp); + + ?> + + + + + + + + + + + + + + + + + + + + + + + +
+ + subject; ?> +
+ + +   + userid) { + print "$how by userid\">$story->userid on $story->timestamp"; ?> + + category\">fgcolor3; ?>\">$story->category "; + } + else { + print "Reported to us by $anonymous on $story->timestamp"; ?> + + fgcolor3; ?>\">$story->category"; + } + ?> + + +
  + + + + + + + + +
+ updates) { + echo "

$story->abstract

hlcolor1\">Editor's note by editor\">$story->editor:$story->updates

"; + } + else { + echo $story->abstract; + } + if ($story->article) echo "

$story->article

"; + ?> +
+ +
+
+ +
   
+ + + + + + + + + + + + + + + +
+ + Comment control +
+
+ + + + + "> +
Save preferences
"; + ?> +
+
+
bgcolor2"; ?>"> + fgcolor2"; ?>">There are at least comments below your threshold. +
+ "; + + ### Create comment header: + 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 " "; + + ### Moderation: + echo " "; + echo " "; + + ### Author: + echo " "; + echo " "; + echo " "; + + ### Date + echo " "; + + echo "
Subject:"; + echo " $subject"; + echo "   [Score: $score"; + if (isset($reason)) echo ", $comments_meta_reasons[$reason]"; + echo "]"; + echo " "; + echo " "; + echo "
Author:$poster "; + if ($poster != $anonymous) { + ### Display extra information line: + $info .= "user info"; + if ($email) $info .= " | $email"; + if (eregi("http://",$url)) $info .= " | $url"; + echo "
[ $info ]"; + } + echo "
Date:". formatTimestamp($date) ."
"; + echo "
$comment
$thread
[ $link ]
"; + } + + ###### + # Syntax.......: preview(...); + # Description..: this function is used to preview a story and is used at + # different parts of the homepage: when a visitors sumbits + # news, when an editor wants to post news, when people + # check the entries in the sumbission queue, etc. + function preview($editor, $informant, $timestamp, $subject, $department, $abstract, $comments, $article) { + include "config.inc"; + ?> + + + + + + + + + + + +
+ +
+ Posted by $informant on $timestamp"; ?>from the $department dept."; ?>"; + } + else { + print "Posted by $anonymous on $timestamp"; ?>from the $department dept."; ?>"; + } + ?> +
+ $abstract

"; + if ($comments) echo "

bgcolor1\">Editor's note by $editor: $comments

"; + if ($article) echo "

$article

"; + ?> +
 
+ + + + + + + + + + + + + + + + + + + + + + + + +
+   +   +   +   +
+   + + + +   +
  + + + + +
+ +
+
 
+   + +   +
+
+ +
+ box("Drop where?", "home
faq
search
submit news
your account
+ + + [ home | faq | search | submit news | your account ] + + +
+ + + -- cgit v1.2.3