From f1a8ab536c66e4488537e17b445941f20bcb9c59 Mon Sep 17 00:00:00 2001 From: Jeroen Bensch Date: Wed, 10 Jan 2001 18:58:17 +0000 Subject: I removed my theme.class.php, now if someone changes my Jeroen dir into jeroen everything should be back in order. I don't think it would be a good idea to remove all of Jeroen and commit all of jeroen, would it. :) Now you can release rc2. :) --- themes/jeroen/theme.class.php | 584 ------------------------------------------ 1 file changed, 584 deletions(-) delete mode 100644 themes/jeroen/theme.class.php (limited to 'themes') diff --git a/themes/jeroen/theme.class.php b/themes/jeroen/theme.class.php deleted file mode 100644 index ae57ddb1f..000000000 --- a/themes/jeroen/theme.class.php +++ /dev/null @@ -1,584 +0,0 @@ - - - - <? include "config.inc"; echo $sitename; ?> - 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

-
- box("Status", "Real name: $user->name
User name: $user->name
E-mail: $user->email
Mojo: infinite
Status: Logged in
Since: 04/06/00, 12:20
"); - ?> -
- - - timestamp = date("l, F d, Y - h:i:s A", $story->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"; ?> - category\">fgcolor3; ?>\">$story->category"; - } - ?> - -   -
-   - - - - - - - - -
- updates) { - echo "

$story->abstract

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

"; - } - else { - echo $story->abstract; - } - ?> -
- -
-
- -
   
- timestamp = date("l, F d, Y - h:i:s A", $story->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