summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-03-24 09:59:06 +0000
committerJeroen Bensch <jeroen@44.no-reply.drupal.org>2001-03-24 09:59:06 +0000
commitc1519c908b49e0c445632fc564e02c180fcc8f58 (patch)
treeb63dccfeb881d04df14df07866361177f551e703
parent673fa2c31c2df6d1ffdf77277a904d4bbb2d96ab (diff)
downloadbrdo-c1519c908b49e0c445632fc564e02c180fcc8f58.tar.gz
brdo-c1519c908b49e0c445632fc564e02c180fcc8f58.tar.bz2
Hey,
I changed cellpadding="0" to cellpadding is="1" in the box function. I saw on http://drop.org/ that the box subjects sticked to the border. This shoud fix it. Jeroen.
-rw-r--r--themes/jeroen/jeroen.theme332
1 files changed, 166 insertions, 166 deletions
diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index bedb89a53..39a0e8776 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -18,60 +18,60 @@
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <HTML>
+ <html>
- <HEAD>
- <TITLE><?php echo $site_name; ?> - Tears of technology</TITLE>
- <STYLE type="text/css">
+ <head>
+ <title><?php echo $site_name; ?> - Tears of technology</title>
+ <style type="text/css">
<!--
- BODY,P,DIV,LI,UL,TD,EM,FONT,BLOCKQUOTE,FORM{font-size: 10pt; font-family:Helvetica,Lucida,sans-serif;}
+ BODY,P,DIV,LI,UL,td,EM,FONT,BLOCKQUOTE,FORM{font-size: 10pt; font-family:Helvetica,Lucida,sans-serif;}
SMALL {font-size: 8pt;}
-->
- </STYLE>
- </HEAD>
+ </style>
+ </head>
- <BODY TEXT="#202020" BGCOLOR="#FEFEFE" BACKGROUND="themes/jeroen/images/background.gif" ALINK="#000000" LINK="#000000" VLINK="#000000">
- <TABLE WIDTH="100%" ALIGN="left" CELLPADDING="0" CELLSPACING="6" BORDER="0">
- <TR>
- <TD COLSPAN="2" WIDTH="80%">
+ <body text="#202020" bgcolor="#FEFEFE" background="themes/jeroen/images/background.gif" alink="#000000" link="#000000" vlink="#000000">
+ <table width="100%" align="left" cellpadding="0" cellspacing="6" border="0">
+ <tr>
+ <td colspan="2" width="80%">
<?php $img = (rand(0,150) == 75) ? "logo2.gif" : "logo.gif"; ?>
- <IMG SRC="themes/jeroen/images/<?php echo $img; ?>" ALT=""><BR><BR>
- </TD>
- <TD WIDTH="20%">
+ <img src="themes/jeroen/images/<?php echo $img; ?>" alt=""><br /><br />
+ </td>
+ <td width="20%">
<?php
$this->box("Drop where?", "
- <TABLE WIDTH=\"100%\" CELLPADDING=\"0\" CELLSPACING=\"0\">
- <TR>
- <TD ALIGN=\"left\" VALIGN=\"top\">
- <A HREF=\"index.php\">home</A><BR>
- <A HREF=\"module.php?mod=faq\">faq</A><BR>
- <A HREF=\"search.php\">search</A>
- </TD>
- <TD ALIGN=\"right\" VALIGN=\"top\">
- <A HREF=\"module.php?mod=diary\">diary</A><BR>
- <A HREF=\"submit.php\">submit news</A><BR>
- <A HREF=\"account.php\">account</A>
- </TD>
- </TR>
- </TABLE>
+ <table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">
+ <tr>
+ <td align=\"left\" valign=\"top\">
+ <a href=\"index.php\">home</A><br />
+ <a href=\"module.php?mod=faq\">faq</A><br />
+ <a href=\"search.php\">search</A>
+ </td>
+ <td align=\"right\" valign=\"top\">
+ <a href=\"module.php?mod=diary\">diary</A><br />
+ <a href=\"submit.php\">submit news</A><br />
+ <a href=\"account.php\">account</A>
+ </td>
+ </tr>
+ </table>
");
?>
- </TD>
- </TR>
- <TR>
- <TD VALIGN="top" ALIGN="right">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" align="right">
<?php
theme_blocks("left", $this);
?>
- </TD>
- <TD WIDTH="80%" VALIGN="top" ALIGN="left">
+ </td>
+ <td width="80%" valign="top" align="left">
<?php
@@ -81,23 +81,23 @@
?>
- <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
- <TR>
- <TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<?php echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" NOWRAP>&nbsp;</TD>
- <TD ALIGN="center" VALIGN="top" WIDTH="100%" BACKGROUND="themes/jeroen/images/newsmiddle.gif" NOWRAP>
+ <table width="100%" cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td align="left" valign="bottom" width="20" height="20" background="themes/jeroen/images/<?php echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" nowrap>&nbsp;</td>
+ <td align="center" valign="top" width="100%" background="themes/jeroen/images/newsmiddle.gif" nowrap>
<B><?php echo "". check_output($story->subject) .""; ?></B>
- </TD>
- <TD ALIGN="right" VALIGN="bottom" WIDTH="20" BACKGROUND="themes/jeroen/images/<?php echo (rand(0, 1) == 0) ? "news2.gif" : "news4.gif"; if (rand(0,100) == 50) "news5.gif"; ?>" NOWRAP>&nbsp;</TD>
- </TR>
- <TR>
- <TD></TD>
- <TD>
- <TABLE BORDER="0" CELLPADDING="1" CELLSPACING="0" BGCOLOR="#000000" WIDTH="100%">
- <TR>
- <TD>
- <TABLE BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="100%" BGCOLOR="#E7E7E7" BACKGROUND="themes/jeroen/images/sketch.gif">
- <TR>
- <TD ALIGN="left" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
+ </td>
+ <td align="right" valign="bottom" width="20" background="themes/jeroen/images/<?php echo (rand(0, 1) == 0) ? "news2.gif" : "news4.gif"; if (rand(0,100) == 50) "news5.gif"; ?>" nowrap>&nbsp;</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <table border="0" cellpadding="1" cellspacing="0" BGCOLOR="#000000" width="100%">
+ <tr>
+ <td>
+ <table border="0" cellpadding="2" cellspacing="0" width="100%" BGCOLOR="#E7E7E7" background="themes/jeroen/images/sketch.gif">
+ <tr>
+ <td align="left" background="themes/jeroen/images/menutitle.gif" nowrap>
<FONT COLOR="#FEFEFE">
<?php
@@ -114,31 +114,31 @@
}
echo "<FONT SIZE=\"-1\">". strtr(t("$how by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp), "large")) ."</FONT>
</FONT>
- </TD>
- <TD ALIGN=\"right\" BACKGROUND=\"themes/jeroen/images/menutitle.gif\" NOWRAP>
- <B><A HREF=\"search.php?category=". urlencode($story->section) ."\"><FONT COLOR=\"#000000\">$story->section</FONT></A></B>";
+ </td>
+ <td align=\"right\" background=\"themes/jeroen/images/menutitle.gif\" nowrap>
+ <B><a href=\"search.php?category=". urlencode($story->section) ."\"><FONT COLOR=\"#000000\">$story->section</FONT></A></B>";
?>
- </TD>
- </TR>
- <TR>
- <TD COLSPAN="2" VALIGN="top" WIDTH="100%">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" valign="top" width="100%">
<?php
- echo "<BR>". check_output($story->abstract, 1) ."<BR>";
+ echo "<br />". check_output($story->abstract, 1) ."<br />";
if ($story->updates)
- echo "<P><FONT COLOR=\"#E09226\">". t("Editor's note by <A HREF=\"account.php?op=userinfo&uname=$story->editor\">$story->editor</A>") .":</FONT>". check_output($story->updates, 1) ."</P>";
+ echo "<P><FONT COLOR=\"#E09226\">". t("Editor's note by <a href=\"account.php?op=userinfo&uname=$story->editor\">$story->editor</A>") .":</FONT>". check_output($story->updates, 1) ."</P>";
if ($reply)
- echo "<BR>". check_output($story->article, 1) ."<BR>";
+ echo "<br />". check_output($story->article, 1) ."<br />";
?>
- </TD>
- </TR>
- <TR>
- <TD COLSPAN="2" ALIGN="right">
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2" align="right">
<?php
@@ -149,16 +149,16 @@
?>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- <BR>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ <br />
<?php
@@ -172,38 +172,38 @@
echo "<A NAME=\"$comment->cid\"></A>\n";
// Create comment header:
- echo " <TABLE BORDER=\"0\" CELLPADDING=\"4\" CELLSPACING=\"0\" WIDTH=\"100%\">";
- echo " <TR>";
- echo " <TD>";
- echo " <TABLE BORDER=\"0\" CELLPADDING=\"1\" CELLSPACING=\"0\" BGCOLOR=\"#000000\" WIDTH=\"100%\">";
- echo " <TR>";
- echo " <TD>";
- echo " <TABLE BACKGROUND=\"themes/jeroen/images/menutitle.gif\" BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\" WIDTH=\"100%\">";
- echo " <TR>";
- echo " <TD>";
- echo " <TABLE BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\" WIDTH=\"100%\">";
+ echo " <table border=\"0\" cellpadding=\"4\" cellspacing=\"0\" width=\"100%\">";
+ echo " <tr>";
+ echo " <td>";
+ echo " <table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" BGCOLOR=\"#000000\" width=\"100%\">";
+ echo " <tr>";
+ echo " <td>";
+ echo " <table background=\"themes/jeroen/images/menutitle.gif\" border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">";
+ echo " <tr>";
+ echo " <td>";
+ echo " <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">";
// Subject:
- echo " <TR>";
- echo " <TD ALIGN=\"right\" WIDTH=\"5%\">";
+ echo " <tr>";
+ echo " <td align=\"right\" width=\"5%\">";
echo " <FONT COLOR=\"#FEFEFE\"><B>". t("Subject") .":</B>";
- echo " </TD>";
- echo " <TD WIDTH=\"80%\">";
+ echo " </td>";
+ echo " <td width=\"80%\">";
echo " <B>". check_output($comment->subject) ."</B>";
echo " </FONT>";
- echo " </TD>";
+ echo " </td>";
// Moderation:
- echo " <TD BGCOLOR=\"#6C6C6C\" BACKGROUND=\"themes/jeroen/images/menutitle.gif\" ALIGN=\"right\" ROWSPAN=\"2\" VALIGN=\"middle\" WIDTH=\"15%\">";
+ echo " <td BGCOLOR=\"#6C6C6C\" background=\"themes/jeroen/images/menutitle.gif\" align=\"right\" ROWSPAN=\"2\" valign=\"middle\" width=\"15%\">";
echo " <FONT COLOR=\"#000000\">";
echo comment_moderation($comment);
echo " </FONT>";
- echo " </TD>";
- echo " </TR>";
+ echo " </td>";
+ echo " </tr>";
// Author:
- echo " <TR>";
- echo " <TD ALIGN=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></TD><TD><B>". format_username($comment->userid) ."</B> ";
+ echo " <tr>";
+ echo " <td align=\"right\"><FONT COLOR=\"#FEFEFE\">". t("Author") .":</FONT></td><td><B>". format_username($comment->userid) ."</B> ";
if ($comment->userid != $anonymous) {
// Display extra information line:
if ($comment->fake_email) $info .= format_email($comment->fake_email);
@@ -211,29 +211,29 @@
}
// Date:
echo " <FONT COLOR=\"#FEFEFE\">on ". format_date($comment->timestamp) ."</FONT>";
- echo " </TD>";
- echo " </TR>";
+ echo " </td>";
+ echo " </tr>";
- echo " </TABLE>";
- echo " </TD>";
- echo " </TR>";
+ echo " </table>";
+ echo " </td>";
+ echo " </tr>";
// Print body of comment:
if ($comment) echo "
- <TR>
- <TD BGCOLOR=\"#E7E7E7\" BACKGROUND=\"themes/jeroen/images/sketch.gif\">". check_output($comment->comment, 1) ."</TD>
- </TR>";
+ <tr>
+ <td BGCOLOR=\"#E7E7E7\" background=\"themes/jeroen/images/sketch.gif\">". check_output($comment->comment, 1) ."</td>
+ </tr>";
// Print bottom link(s):
- echo " <TR><TD ALIGN=\"right\" BGCOLOR=\"#E7E7E7\" BACKGROUND=\"themes/jeroen/images/sketch.gif\"><FONT COLOR=\"#E09226\">[</FONT> $link <FONT COLOR=\"#E09226\">]</FONT></TD></TR>";
- echo " </TABLE>";
- echo " </TD>";
- echo " </TR>";
- echo " </TABLE>";
- echo " </TD>";
- echo " </TR>";
- echo " </TABLE>";
- echo " <BR>";
+ echo " <tr><td align=\"right\" BGCOLOR=\"#E7E7E7\" background=\"themes/jeroen/images/sketch.gif\"><FONT COLOR=\"#E09226\">[</FONT> $link <FONT COLOR=\"#E09226\">]</FONT></td></tr>";
+ echo " </table>";
+ echo " </td>";
+ echo " </tr>";
+ echo " </table>";
+ echo " </td>";
+ echo " </tr>";
+ echo " </table>";
+ echo " <br />";
} // close comment function
@@ -244,41 +244,41 @@
?>
- <TABLE WIDTH="100%" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">
- <TR>
- <TD WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/boxtopleft.gif" NOWRAP>&nbsp;</TD>
- <TD WIDTH="<?php echo $width; ?>" BACKGROUND="themes/jeroen/images/boxtop.gif">&nbsp;</TD>
- <TD BACKGROUND="themes/jeroen/images/boxtopmiddle.gif">&nbsp;</TD>
- <TD BACKGROUND="themes/jeroen/images/boxtop.gif">&nbsp;</TD>
- <TD WIDTH="20" BACKGROUND="themes/jeroen/images/boxtopright.gif" NOWRAP>&nbsp;</TD>
- </TR>
- <TR>
- <TD BACKGROUND="themes/jeroen/images/<?php echo $img2; ?>" HEIGHT="20">&nbsp;</TD>
- <TD ALIGN="center" WIDTH="100%" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
+ <table width="100%" align="center" cellpadding="1" cellspacing="0" border="0">
+ <tr>
+ <td width="20" height="20" background="themes/jeroen/images/boxtopleft.gif" nowrap>&nbsp;</td>
+ <td width="<?php echo $width; ?>" background="themes/jeroen/images/boxtop.gif">&nbsp;</td>
+ <td background="themes/jeroen/images/boxtopmiddle.gif">&nbsp;</td>
+ <td background="themes/jeroen/images/boxtop.gif">&nbsp;</td>
+ <td width="20" background="themes/jeroen/images/boxtopright.gif" nowrap>&nbsp;</td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/<?php echo $img2; ?>" height="20">&nbsp;</td>
+ <td align="center" width="100%" colspan="3" background="themes/jeroen/images/menutitle.gif" nowrap>
<FONT COLOR="#FEFEFE"><?php echo $subject; ?></FONT>
- </TD>
- <TD BACKGROUND="themes/jeroen/images/boxtoprightside.gif">&nbsp;</TD>
- </TR>
- <TR>
- <TD BACKGROUND="themes/jeroen/images/boxleft.gif" NOWRAP>&nbsp;</TD>
- <TD COLSPAN="3" ALIGN="center" BGCOLOR="#E7E7E7" BACKGROUND="themes/jeroen/images/sketch.gif">
- <TABLE>
- <TR>
- <TD>
+ </td>
+ <td background="themes/jeroen/images/boxtoprightside.gif">&nbsp;</td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/boxleft.gif" nowrap>&nbsp;</td>
+ <td colspan="3" align="center" BGCOLOR="#E7E7E7" background="themes/jeroen/images/sketch.gif">
+ <table>
+ <tr>
+ <td>
<?php echo $content; ?>
- </TD>
- </TR>
- </TABLE>
- </TD>
- <TD BACKGROUND="themes/jeroen/images/boxright.gif" NOWRAP>&nbsp;</TD>
- </TR>
- <TR>
- <TD BACKGROUND="themes/jeroen/images/boxbottomleft.gif" HEIGHT="20" NOWRAP>&nbsp;</TD>
- <TD COLSPAN="3" BACKGROUND="themes/jeroen/images/boxbottom.gif">&nbsp;</TD>
- <TD BACKGROUND="themes/jeroen/images/<?php echo $img; ?>" NOWRAP>&nbsp;</TD>
- </TR>
- </TABLE>
- <BR>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td background="themes/jeroen/images/boxright.gif" nowrap>&nbsp;</td>
+ </tr>
+ <tr>
+ <td background="themes/jeroen/images/boxbottomleft.gif" height="20" nowrap>&nbsp;</td>
+ <td colspan="3" background="themes/jeroen/images/boxbottom.gif">&nbsp;</td>
+ <td background="themes/jeroen/images/<?php echo $img; ?>" nowrap>&nbsp;</td>
+ </tr>
+ </table>
+ <br />
<?php
@@ -288,8 +288,8 @@
?>
- </TD>
- <TD WIDTH="20%" VALIGN="top" ALIGN="right">
+ </td>
+ <td width="20%" valign="top" align="right">
<?php
@@ -300,26 +300,26 @@
?>
- </TD>
- </TR>
- <TR>
- <TD></TD>
- <TD>
- <TABLE WIDTH="100%" CELLSPACING="0" CELLPADDING="0" BORDER="0">
- <TR>
- <TD ALIGN="left" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/footerleft.gif" NOWRAP>&nbsp;</TD>
- <TD WIDTH="100%" BACKGROUND="themes/jeroen/images/footer.gif" ALIGN="center" VALIGN="middle">
- <FONT COLOR="#E09226" SIZE="2">[ <A HREF="index.php">Home</A> | <A HREF="module.php?mod=faq">Faq</A> | <A HREF="search.php">Search</A> | <A HREF="module.php?mod=diary">Diary</A>| <A HREF="submit.php">Submit news</A> | <A HREF="account.php">Account</A> ] </FONT>
- </TD>
- <TD ALIGN="right" WIDTH="20" BACKGROUND="themes/jeroen/images/footerright.gif" NOWRAP>&nbsp;</TD>
- </TR>
- </TABLE>
- </TD>
- <TD></TD>
- </TR>
- </TABLE>
- </BODY>
- </HTML>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <table width="100%" cellspacing="0" cellpadding="0" border="0">
+ <tr>
+ <td align="left" width="20" height="20" background="themes/jeroen/images/footerleft.gif" nowrap>&nbsp;</td>
+ <td width="100%" background="themes/jeroen/images/footer.gif" align="center" valign="middle">
+ <FONT COLOR="#E09226" SIZE="2">[ <a href="index.php">Home</A> | <a href="module.php?mod=faq">Faq</A> | <a href="search.php">Search</A> | <a href="module.php?mod=diary">Diary</A>| <a href="submit.php">Submit news</A> | <a href="account.php">Account</A> ] </FONT>
+ </td>
+ <td align="right" width="20" background="themes/jeroen/images/footerright.gif" nowrap>&nbsp;</td>
+ </tr>
+ </table>
+ </td>
+ <td></td>
+ </tr>
+ </table>
+ </body>
+ </html>
<?php