summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/example/example.theme68
-rw-r--r--themes/marvin/marvin.theme2
-rw-r--r--themes/yaroon/jeroen2.theme4
3 files changed, 36 insertions, 38 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index dbdad530d..9d5cbd250 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -19,7 +19,7 @@
<TITLE><? echo variable_get(site_name, "drupal"); ?></TITLE>
</HEAD>
<BODY>
- <TABLE BORDER="1">
+ <TABLE BORDER="0">
<TR>
<TD>
<BIG><A HREF="index.php"><?php print variable_get(site_name, "drupal"); ?></A></BIG>
@@ -50,10 +50,10 @@
function story($story, $reply = 0) {
?>
- <TABLE BORDER="1" WIDTH="100%">
+ <TABLE BORDER="1" CELLSPACING="0" CELLPADDING="3" WIDTH="100%">
<TR>
<TD COLSPAN="2">
- <?php echo check_output($story->title); ?>
+ <BIG><?php echo check_output($story->title); ?></BIG>
</TD>
</TR>
<TR>
@@ -65,13 +65,11 @@
?>
</TD>
- <TD>
-
+ <TD ALIGN="right">
<?php
- echo "<A HREF=\"search.php?category=". urlencode($story->section) ."\">". check_output($story->section) ."</A>";
+ echo "<A HREF=\"index.php?category=$story->cid\">". check_output($story->category) ."</A> / <A HREF=\"index.php?topic=$story->tid\">". check_output($story->topic) ."</A>";
?>
-
</TD>
</TR>
<TR>
@@ -112,41 +110,41 @@
echo "<A NAME=\"$comment->cid\"></A>\n";
// Create comment header:
- echo " <TABLE BORDER=\"1\" WIDTH=\"100%\">";
- echo " <TR>";
- echo " <TD>";
- echo t("Subject") .":";
- echo " </TD>";
- echo " <TD>";
- echo " ". check_output($comment->subject);
- echo " </TD>";
+ echo "<TABLE BORDER=\"1\" CELLSPACING=\"0\" CELLPADDING=\"3\" WIDTH=\"100%\">";
+ echo " <TR>";
+ echo " <TD>";
+ echo t("Subject") .":";
+ echo " </TD>";
+ echo " <TD>";
+ echo " ". check_output($comment->subject);
+ echo " </TD>";
// Moderation:
- echo " <TD>";
- echo comment_moderation($comment);
- echo " </TD>";
- echo " </TR>";
+ echo " <TD>";
+ echo comment_moderation($comment);
+ echo " </TD>";
+ echo " </TR>";
// Author and date:
- echo " <TR>";
- echo " <TD>";
- echo t("Author") .":";
- echo " </TD>";
- echo " <TD COLSPAN=\"2\">";
- echo format_username($comment->userid) ." on ". format_date($comment->timestamp);
- echo " </TD>";
- echo " </TR>";
+ echo " <TR>";
+ echo " <TD>";
+ echo t("Author") .":";
+ echo " </TD>";
+ echo " <TD COLSPAN=\"2\">";
+ echo format_username($comment->userid) ." on ". format_date($comment->timestamp);
+ echo " </TD>";
+ echo " </TR>";
// Body of comment:
- echo " <TR>";
- echo " <TD COLSPAN=\"3\">";
- echo check_output($comment->comment, 1);
+ echo " <TR>";
+ echo " <TD COLSPAN=\"3\">";
+ echo check_output($comment->comment, 1);
// Print navigation / control links:
- echo " <P>$link</P>";
- echo " </TD>";
- echo " </TR>";
- echo " </TABLE>";
+ echo " <P>$link</P>";
+ echo " </TD>";
+ echo " </TR>";
+ echo "</TABLE>";
} // close comment function
function box($subject, $content, $options = "") {
@@ -156,7 +154,7 @@
<TABLE>
<TR>
<TD>
- <DIV ALIGN="center"><B><? echo $subject; ?></B></DIV><HR>
+ <DIV ALIGN="center"><BIG><? echo $subject; ?></BIG></DIV><HR>
</TD>
</TR>
<TR>
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index 00a415640..3f19502f1 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -51,7 +51,7 @@
print " <TR VALIGN=\"bottom\"><TD COLSPAN=\"2\" BGCOLOR=\"#000000\" WIDTH=\"100%\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"1\" HEIGHT=\"0\" ALT=\"\"></TD></TR>\n";
print " <TR>\n";
print " <TD>\n";
- print " <FONT COLOR=\"#7C7C7C\"><SMALL>". strtr(t("Submitted by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp, "large"))); ?><?php if ($story->department) print "<BR>from the $story->department dept."; ?><?php print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"?section=". urlencode($story->section) ."\"><FONT COLOR=\"#83997A\">". check_output($story->section) ."</FONT></A></SMALL>\n";
+ print " <FONT COLOR=\"#7C7C7C\"><SMALL>". strtr(t("Submitted by %a on %b"), array("%a" => format_username($story->userid), "%b" => format_date($story->timestamp, "large"))); ?><?php if ($story->department) print "<BR>from the $story->department dept."; ?><?php print "</SMALL></FONT></TD><TD ALIGN=\"right\" VALIGN=\"top\" NOWRAP><SMALL><A HREF=\"index.php?category=$story->cid\"><FONT COLOR=\"#83997A\">". check_output($story->category) ."</FONT></A> / <A HREF=\"index.php?topic=$story->tid\"><FONT COLOR=\"#83997A\">". check_output($story->topic) ."</FONT></A></SMALL>\n";
print " </TD>\n";
print " </TR>\n";
print " <TR><TD COLSPAN=\"2\">&nbsp;</TD></TR>\n";
diff --git a/themes/yaroon/jeroen2.theme b/themes/yaroon/jeroen2.theme
index 27b7b0541..236bbbd66 100644
--- a/themes/yaroon/jeroen2.theme
+++ b/themes/yaroon/jeroen2.theme
@@ -168,7 +168,7 @@
<tr>
<td class="box">
<img src="themes/jeroen2/images/square.gif" />&nbsp;<b><?php echo check_output($comment->subject); ?></b>
- <font size="-1"><?php echo strtr(t(" by %a on %b"), array("%a" => format_username($comment->userid), "%b" => format_date($comment->timestamp), "small")); ?></font>
+ <font size="-1"><?php echo strtr(t(" by %a on %b"), array("%a" => format_username($comment->userid), "%b" => format_date($comment->timestamp), "small")); ?></font>
</td>
<td align="right"><?php echo comment_moderation($comment); ?></td>
</tr>
@@ -209,7 +209,7 @@
<table width="90%" border="0" cellpadding="0" cellspacing="1">
<tr>
- <td class="box"><img src="themes/jeroen2/images/square.gif" />&nbsp;<b><?php echo $subject; ?></b></td>
+ <td class="box"><img src="themes/jeroen2/images/square.gif" />&nbsp;<b><?php echo $subject; ?></b></td>
</tr>
<tr><td class="spacer1"><img src="themes/jeroen2/images/pixel.gif" width="1" height="1" alt="" border="0" /><br></td></tr>
<tr>