Skip to content
Snippets Groups Projects
Commit ff2d2760 authored by Jeroen's avatar Jeroen
Browse files

Small bug fixes, added some NOWRAPs and other stuff. This is also an attempt...

Small bug fixes, added some NOWRAPs and other stuff. This is also an attempt to fix the widths of the boxes on the sides... I don't know if it'll work, and frankly I doubt if it would... Let me elaborate... You know that I have three colums, one for the left boxes, the middle for the stories and one for the right boxes... I didn't provide a width for any of these <TD>s. That's why it chose it's width randomly. Then I set them to these values, respectively 20 60 and 20%. That went OK, but another problem occurred. We only have boxes on the main page. And on the other pages. e.g. faq, submit news, search... we only have the <user>'s account box on the right. This results in a large white border on the left (lost space). That's why I did the following... but I am afraid it won't work... I set the widths to: <no width> 100% 20% So, now, when we have boxes on the left it'll display them, when there aren't any, the middle <TD> will take up the rest op the space, being 100%, it worked fine on my computer with my browsers... But since I use the kind of browser no-one else uses (linux mozilla 0.8 which sucks and linux NS6.01) it is no reference. I would want to stress again that my theme isn't mozilla compatible or how do you say that, in fact it'd better be mozilla isn't jeroen.theme compatible, it's buggy as hell with the backrounds. OK enough for now, let's see if anything good happens to my theme.
Dries, be so kind to get my jeroen.theme working at http://jeroen.drop.org.

Jeroen.
parent 4511ddbf
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -35,11 +35,11 @@ function header() { ...@@ -35,11 +35,11 @@ function header() {
<BODY TEXT="#202020" BGCOLOR="#FEFEFE" BACKGROUND="themes/jeroen/images/background.gif" ALINK="#000000" LINK="#000000" VLINK="#000000"> <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"> <TABLE WIDTH="100%" ALIGN="left" CELLPADDING="0" CELLSPACING="6">
<TR> <TR>
<TD COLSPAN="2"> <TD COLSPAN="2" WIDTH="80%">
<? if (rand(0,150) == 75) $img = "logo2.gif"; else $img = "logo.gif"; ?> <? if (rand(0,150) == 75) $img = "logo2.gif"; else $img = "logo.gif"; ?>
<IMG SRC="themes/jeroen/images/<? echo $img; ?>" ALT="drop.org logo"><BR><BR> <IMG SRC="themes/jeroen/images/<? echo $img; ?>" ALT="drop.org logo"><BR><BR>
</TD> </TD>
<TD> <TD WIDTH="20%">
<? <?
$this->box("Drop where?", "<TR> $this->box("Drop where?", "<TR>
<TD ALIGN=\"left\" VALIGN=\"top\"> <TD ALIGN=\"left\" VALIGN=\"top\">
...@@ -49,7 +49,7 @@ function header() { ...@@ -49,7 +49,7 @@ function header() {
</TD> </TD>
<TD ALIGN=\"right\" VALIGN=\"top\"> <TD ALIGN=\"right\" VALIGN=\"top\">
<A HREF=\"module.php?mod=diary\">diary</A><BR> <A HREF=\"module.php?mod=diary\">diary</A><BR>
<A HREF=\"submit.php\">submit news</A> <A HREF=\"submit.php\">submit news</A><BR>
<A HREF=\"account.php\">account</A> <A HREF=\"account.php\">account</A>
</TD> </TD>
</TR>"); </TR>");
...@@ -62,7 +62,7 @@ function header() { ...@@ -62,7 +62,7 @@ function header() {
theme_blocks("all", $this); theme_blocks("all", $this);
?> ?>
</TD> </TD>
<TD VALIGN="top" ALIGN="left"> <TD WIDTH="100%" VALIGN="top" ALIGN="left">
<? <?
} }
...@@ -153,7 +153,7 @@ function article($story, $reply) { ...@@ -153,7 +153,7 @@ function article($story, $reply) {
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0"> <TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR> <TR>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<? echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>">&nbsp;</TD> <TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/<? echo (rand(0, 1) ? "news1.gif" : "news3.gif"); ?>" NOWRAP>&nbsp;</TD>
<TD ALIGN="center" VALIGN="center" HEIGHT="20" BACKGROUND="themes/jeroen/images/newsmiddle.gif"> <TD ALIGN="center" VALIGN="center" HEIGHT="20" BACKGROUND="themes/jeroen/images/newsmiddle.gif">
<B><? echo "". check_output($story->subject) .""; ?></B> <B><? echo "". check_output($story->subject) .""; ?></B>
</TD> </TD>
...@@ -315,7 +315,7 @@ function box($subject, $content, $options = "") { ...@@ -315,7 +315,7 @@ function box($subject, $content, $options = "") {
else $img2 ="boxtopleftside1.gif"; else $img2 ="boxtopleftside1.gif";
?> ?>
<TABLE ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0"> <TABLE WIDTH="100%" ALIGN="center" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR> <TR>
<TD WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/boxtopleft.gif" NOWRAP>&nbsp;</TD> <TD WIDTH="20" HEIGHT="20" BACKGROUND="themes/jeroen/images/boxtopleft.gif" NOWRAP>&nbsp;</TD>
<TD WIDTH="<? echo $width; ?>" BACKGROUND="themes/jeroen/images/boxtop.gif">&nbsp;</TD> <TD WIDTH="<? echo $width; ?>" BACKGROUND="themes/jeroen/images/boxtop.gif">&nbsp;</TD>
...@@ -325,7 +325,7 @@ function box($subject, $content, $options = "") { ...@@ -325,7 +325,7 @@ function box($subject, $content, $options = "") {
</TR> </TR>
<TR> <TR>
<TD BACKGROUND="themes/jeroen/images/<? echo $img2; ?>" HEIGHT="20">&nbsp;</TD> <TD BACKGROUND="themes/jeroen/images/<? echo $img2; ?>" HEIGHT="20">&nbsp;</TD>
<TD ALIGN="center" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif"> <TD ALIGN="center" COLSPAN="3" BACKGROUND="themes/jeroen/images/menutitle.gif" NOWRAP>
<FONT COLOR="<? echo $this->fgc2; ?>"><? echo $subject; ?></FONT> <FONT COLOR="<? echo $this->fgc2; ?>"><? echo $subject; ?></FONT>
</TD> </TD>
<TD BACKGROUND="themes/jeroen/images/boxtoprightside.gif">&nbsp;</TD> <TD BACKGROUND="themes/jeroen/images/boxtoprightside.gif">&nbsp;</TD>
...@@ -362,8 +362,6 @@ function footer() { ...@@ -362,8 +362,6 @@ function footer() {
<? <?
global $PHP_SELF; global $PHP_SELF;
theme_account($this); theme_account($this);
?> ?>
</TD> </TD>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment