summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-04-11 23:52:22 +0000
committerJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-04-11 23:52:22 +0000
commit2f309aa5c895ecacf2b983b1d609e19ed67233f3 (patch)
treec809103b00365c177bac72188054484ef324fe56
parent8c567858b02a26094d2cc5af290deb202d56c23a (diff)
downloadbrdo-2f309aa5c895ecacf2b983b1d609e19ed67233f3.tar.gz
brdo-2f309aa5c895ecacf2b983b1d609e19ed67233f3.tar.bz2
Hey,
Just a theme... Guess I was kindof bored today and made a theme. I discovered the tags: topmargin="0" leftmargin="0" marginwidth="0" marginheight="0", and thought, well, how about I build a theme around those tags... And so I did. It isn't finished yet. Not even close, but when you add my theme to the array in your_hostname.conf in the includes dir (insert it as the first element, so it'd be the default theme) and load the main page locally on your computer you should see something with the color scheme of the Petit Bateau clothing line for babies. Something without gfx (Yes it sounds weird reading this from Jeroen :)) No subliminal random messages or changing graphics involved. Nothing. I especcially mention the header on the page. It says drop.org in the left upper corner. I don't want a logo there, just the text. Somehow I must find it _cool_ or so, don't know why. Mmm, now that I think of it, I might just make it http://drop.org/ too. Going to try that. Well, it's 01.40 now, I think you'll understand that I didn't really feel like implementing the whole comment function at this time... :) So, there are no comments visible yet. The layout is still crappy, and the links don't have the desired color yet. Nevertheless, tell me what you think of it. :) Doesn't have to be good opinions. Color schemes are to be discussed, but I must've already adapted to the childish blue I think. So what do we got? A freaky, yet simple design that somehow makes the hair on my butt arise... A stupid color scheme. No graphics. No specials. Boxes only on the left while news on the right (something I haven't seen to much up untill now. Despite all of this I seem to like it :) Goodnight, Jeroen.
-rw-r--r--themes/yaroon/jeroen2.theme239
1 files changed, 239 insertions, 0 deletions
diff --git a/themes/yaroon/jeroen2.theme b/themes/yaroon/jeroen2.theme
new file mode 100644
index 000000000..956403815
--- /dev/null
+++ b/themes/yaroon/jeroen2.theme
@@ -0,0 +1,239 @@
+<?php
+
+ /*********************************************************************
+
+ Theme: try-out
+ Author: Jeroen Bensch (Jeroen)
+ Email: jeroen@drop.org
+ Description: Lots of tables again, argg...
+
+ *********************************************************************/
+
+ class Theme {
+
+ function header() {
+
+?>
+
+ <html>
+
+ <head>
+ <title><? echo variable_get(site_name, "drupal"); ?></title>
+ <style>
+ <!--
+ a { text-decoration: none; font-weight: bold; font-family: Arial }
+ a.link1 { color: #fefefe }
+ a.link2 { color: #a8b5ff }
+ td { color: #333333; font-family: Arial }
+ -->
+ </style>
+ </head>
+
+ <body bgcolor="#fefefe" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
+ <table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="#ccddff" align="left" width="20%">
+ &nbsp;<a href="http://drop.org/" class="link1">drop.org</a>
+ </td>
+ <td bgcolor="#ccddff" align="right">
+ <!-- The weblog for a dynamic community&nbsp;<br> -->&nbsp;
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff" colspan="2">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <br>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff" colspan="2">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#c0c0c0" background="themes/jeroen2/images/sketch.gif" align="center" cellspacing="1" cellpadding="1" colspan="2">
+ <font color="#fefefe">
+ <a href="module.php?mod=book" class="link2">handbook</a> |
+ <a href="search.php" class="link2">search</a> |
+ <a href="module.php?mod=diary" class="link2">diary</a> |
+ <a href="submit.php" class="link2">submit</a> |
+ <a href="account.php" class="link2">account</a>
+ </font>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff" colspan="2">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td valign="top">
+
+ <br>
+<?php
+
+ theme_account($this);
+ theme_blocks("all", $this);
+
+?>
+
+ </td>
+ <td width="100%" valign="top" align="right">
+ <br>
+
+<?php
+
+ } // close header function
+
+ function story($story, $reply = 0) {
+
+?>
+
+ <table bgcolor="#ccddff" width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td bgcolor="#a8b5ff" width="1" rowspan="6">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <b>
+ <?php echo "". strtr(t("Subject: %a Name: %b ID: %cDate: %d"), array("%a" => check_output($story->title), "%b" => format_username($story->userid), "%c" => $story->id, "%d" => format_date($story->timestamp, "small"))) .""; ?>
+ </b>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/sketch.gif">
+
+<?php
+
+ echo "". check_output($story->abstract, 1) ."<br />";
+ if ($reply && $story->body)
+ echo "<br />". check_output($story->body, 1) ."<br />";
+
+?>
+
+ </td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/sketch.gif" align="right">
+
+<?php
+
+ if (!$reply)
+ echo "". theme_morelink($this, $story) ."";
+ else
+ echo "". $reply ."";
+
+?>
+
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ </table>
+ <br />
+<?php
+
+ } // close story function
+
+ function comment($comment, $link = "") {
+ echo "<a name=\"$comment->cid\"></a>\n";
+
+ // Create comment header:
+
+ } // close comment function
+
+ function box($subject, $content, $options = "") {
+
+?>
+
+ <table bgcolor="#ccddff" width="90%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ <td bgcolor="#a8b5ff" width="1" rowspan="5">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <b>
+ <?php echo $subject; ?>
+ </b>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/sketch.gif">
+
+<?php
+
+ echo $content;
+
+?>
+
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#a8b5ff">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ </table>
+ <br />
+
+<?php
+
+ } // close box function
+
+ function footer() {
+
+?>
+ <tr>
+ <td text="#fefefe" bgcolor="#a8b5ff" colspan="2">
+ <img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0"><br>
+ </td>
+ </tr>
+ <tr>
+ <td bgcolor="#ccddff" align="left">
+ &nbsp;Creator: <a href="mailto:jeroen@drop.org" class="link1">Jeroen</a>
+ </td>
+ <td bgcolor="#ccddff" align="right">
+ <a href="module.php?mod=book" class="link1">handbook</a> |
+ <a href="search.php" class="link1">search</a> |
+ <a href="module.php?mod=diary" class="link1">diary</a> |
+ <a href="submit.php" class="link1">submit</a> |
+ <a href="account.php" class="link1">account</a>
+ </td>
+ </tr>
+ </table>
+ </body>
+ </html>
+
+<?php
+
+ } // close footer function
+ }
+
+?>