summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--themes/unconed/unconed.css3
-rw-r--r--themes/unconed/unconed.theme78
2 files changed, 42 insertions, 39 deletions
diff --git a/themes/unconed/unconed.css b/themes/unconed/unconed.css
index e714cf415..887f2fcba 100644
--- a/themes/unconed/unconed.css
+++ b/themes/unconed/unconed.css
@@ -25,3 +25,6 @@ table {
font-size: 1em;
}
+a:link { color: #404040 }
+a:visited { color: #404040 }
+a:active { color: #000000 }
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index 23e6eed93..4e5448e83 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -45,26 +45,26 @@
<title><?php echo ($title ? ($title . " - ") : "") . variable_get(site_name, "drupal"); ?></title>
<link rel="stylesheet" type="text/css" media="screen, projection" href="themes/unconed/unconed.css" />
</head>
- <body text="#000000" bgcolor="<?php print $this->clc0; ?>" alink="#000000" link="#404040" vlink="#404040">
- <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
- <tr><td bgcolor="<?php print $this->cl00; ?>"><img src="<?php print $this->path; ?>/images/null.gif" width="10" alt="" /></td><td bgcolor="<?php print $this->clc0; ?>"><img src="<?php print $this->path; ?>/images/null.gif" width="4" alt="" /></td>
- <td bgcolor="<?php print $this->cl80; ?>">
- <table border="0" cellpadding="0" cellspacing="9" bgcolor="<?php print $this->cl80; ?>">
+ <body<?php print theme_onload_attribute(); ?>>
+ <table border="0" cellpadding="0" cellspacing="0" style="margin: auto; width: 100%;">
+ <tr><td style="background-color: <?php print $this->cl00; ?>;"><img src="<?php print $this->path; ?>/images/null.gif" width="10" alt="" title="" /></td><td style="background-color: <?php print $this->clc0; ?>;"><img src="<?php print $this->path; ?>/images/null.gif" width="4" alt="" title="" /></td>
+ <td style="background-color: <?php print $this->cl80; ?>;">
+ <table border="0" cellpadding="0" cellspacing="9" style="background-color: <?php print $this->cl80; ?>;">
<tr>
<td colspan="2">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="<?php echo $this->brcolor1; ?>"><tr><td align="center"><table border="0" width="100%" cellspacing="1" cellpadding="4"><tr><td align="center" bgcolor="<?php echo $this->bgcolor2; ?>"><a href="<?php print $base_url; ?>/"><img src="<?php print $this->path; ?>/images/logo.png" alt="logo" /></a></td></tr></table></td></tr></table>
+ <table border="0" cellspacing="0" cellpadding="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;"><tr><td style="text-align: center;"><table border="0" cellspacing="1" cellpadding="4" style="width: 100%;"><tr><td style="background-color: <?php echo $this->bgcolor2; ?>; text-align: center;"><a href="<?php print $base_url; ?>/"><img src="<?php print $this->path; ?>/images/logo.png" alt="logo" title="logo" /></a></td></tr></table></td></tr></table>
</td>
</tr>
<tr>
- <td colspan="2" align="center">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="<?php echo $this->brcolor1; ?>"><tr><td align="center"><table border="0" width="100%" cellspacing="1" cellpadding="4"><tr><td align="center" bgcolor="<?php echo $this->bgcolor2; ?>"><?php print $this->links(link_page()); ?></td></tr></table></td></tr></table>
+ <td colspan="2" style="text-align: center;">
+ <table border="0" cellspacing="0" cellpadding="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;"><tr><td style="text-align: center;"><table border="0" cellspacing="1" cellpadding="4" style="width: 100%;"><tr><td style="background-color: <?php echo $this->bgcolor2; ?>; text-align: center;"><?php print $this->links(link_page()); ?></td></tr></table></td></tr></table>
</td>
</tr>
<tr><td colspan="2"><?php
- print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"$this->brcolor1;\" width=\"100%\">";
+ print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color: $this->brcolor1; width: 100%;\">";
print "<tr><td>";
- print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\">";
- print "<tr><td align=\"center\" bgcolor=\"$this->bgcolor2\"><font color=\"$this->fgcolor1\"><img src=\"" . $this->path . "/images/null.gif\" width=\"2\" height=\"2\" alt=\"\" /></font></td></tr>";
+ print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" style=\"width: 100%;\">";
+ print "<tr><td style=\"background-color: $this->bgcolor2; text-align: center;\"><div style=\"color: $this->fgcolor1;\"><img src=\"" . $this->path . "/images/null.gif\" width=\"2\" height=\"2\" alt=\"\" title=\"\"/></div></td></tr>";
print "</table>";
print "</td></tr></table>";
?></td></tr>
@@ -77,22 +77,22 @@
print "\n<!-- node: \"$node->title\" -->\n";
?>
- <table border="0" cellpadding="0" cellspacing="0" bgcolor="<?php echo $this->brcolor1; ?>" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;">
<tr><td>
- <table border="0" cellpadding="4" cellspacing="1" width="100%">
- <tr><td colspan="2" bgcolor="<?php echo $this->bgcolor1; ?>" width="100%"><table width="100%" cellpadding="0" cellspacing="0"><tr><td width="100%"><font color="<?php echo $this->fgcolor1; ?>"><b><?php echo "$node->title"; ?></b></font></td><td valign="middle" align="center"><img src="<?php print $this->path; ?>/images/icon.gif" alt="" /></td></tr></table></td></tr>
- <tr bgcolor="<?php echo $this->bgcolor2; ?>">
+ <table border="0" cellpadding="4" cellspacing="1" style="width: 100%;">
+ <tr><td colspan="2" style="background-color: <?php echo $this->bgcolor1; ?>; width: 100%;"><table cellpadding="0" cellspacing="0" style="width: 100%;"><tr><td style="width: 100%;"><div style="color: <?php echo $this->fgcolor1; ?>;"><b><?php echo "$node->title"; ?></b></div></td><td style="vertical-align: middle; text-align: center;"><img src="<?php print $this->path; ?>/images/icon.gif" alt="" title="" /></td></tr></table></td></tr>
+ <tr style="background-color: <?php echo $this->bgcolor2; ?>;">
<?php
if (module_exist("taxonomy")) {
$terms = taxonomy_link("taxonomy terms", $node);
}
$taxo = $this->links($terms);
- print "<td width=\"70%\" bgcolor=\"$this->bgcolor2\"><small>" . t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) . "</small></td><td width=\"30%\" bgcolor=\"$this->bgcolor2\" align=\"center\"><b>". $taxo ."</b>";
+ print "<td style=\"background-color: $this->bgcolor2; width: 70%;\"><small>" . t("Submitted by %a on %b", array("%a" => format_name($node), "%b" => format_date($node->created, "large"))) . "</small></td><td style=\"background-color: $this->bgcolor2; width: 30%; text-align: center;\"><b>". $taxo ."</b>";
?>
</td>
</tr>
- <tr bgcolor="<?php echo $this->bgcolor2; ?>">
- <td bgcolor="<?php echo $this->bgcolor2 ?>" colspan="2">
+ <tr style="background-color: <?php echo $this->bgcolor2; ?>;">
+ <td colspan="2" style="background-color: <?php echo $this->bgcolor2 ?>;">
<?php
if ($main && $node->teaser) {
echo "<p>$node->teaser</p>";
@@ -105,7 +105,7 @@
</tr>
<?php
if ($links = link_node($node, $main)) {
- echo "<tr bgcolor=\"". $this->bgcolor3 ."\"><td bgcolor=\"". $this->bgcolor3 ."\" align=\"right\" colspan=\"2\">[ ". $this->links($links) ." ]</td></tr>";
+ echo "<tr style=\"background-color: ". $this->bgcolor3 .";\"><td style=\"background-color: ". $this->bgcolor3 ."; text-align: right;\" colspan=\"2\">[ ". $this->links($links) ." ]</td></tr>";
}
?>
</table></td></tr></table><br />
@@ -116,54 +116,54 @@
print "\n<!-- comment: \"$comment->subject\" by $comment->name -->\n";
?>
- <table border="0" cellpadding="0" cellspacing="0" bgcolor="<?php echo $this->brcolor1; ?>" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;">
<tr><td>
<?php
// create comment header:
- echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"1\" width=\"100%\">";
- echo " <tr bgcolor=\"$this->bgcolor1\">";
- echo " <td bgcolor=\"$this->bgcolor1\">";
- echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\">";
+ echo "<table border=\"0\" cellpadding=\"4\" cellspacing=\"1\" style=\"width: 100%;\">";
+ echo " <tr style=\"background-color: $this->bgcolor1;\">";
+ echo " <td style=\"background-color: $this->bgcolor1;\">";
+ echo " <table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" style=\"width: 100%;\">";
// subject:
echo " <tr>";
- echo " <td align=\"right\" valign=\"top\" width=\"5%\"><font color=\"$this->hlcolor1\"><b>" . t("subject") . ":</b></font></td><td width=\"80%\">";
- echo " <b><font color=\"$this->fgcolor1\">$comment->subject</font></b>";
+ echo " <td style=\"text-align: right; width: 5%; vertical-align: top;\"><div style=\"color: $this->hlcolor1;\"><b>" . t("subject") . ":</b></div></td><td style=\"width: 80%;\">";
+ echo " <b><div style=\"color: $this->fgcolor1;\">$comment->subject</div></b>";
echo " </td>";
echo " </tr>";
// author:
echo " <tr>";
- echo " <td align=\"right\" valign=\"top\">" . t("author") . ":</td><td><b>" . format_name($comment) . "</b> ";
+ echo " <td style=\"text-align: right; vertical-align: top;\">" . t("author") . ":</td><td><b>" . format_name($comment) . "</b> ";
echo " </td>";
echo " </tr>";
// date
- echo " <tr><td align=\"right\">" . t("date") . ":</td><td>". format_date($comment->timestamp) ."</td></tr>";
+ echo " <tr><td style=\"text-align: right;\">" . t("date") . ":</td><td>". format_date($comment->timestamp) ."</td></tr>";
echo " </table>";
echo " </td>";
echo " </tr>";
// print body of comment:
- if ($comment) echo " <tr><td bgcolor=\"$this->bgcolor2\">$comment->comment</td></tr>";
+ if ($comment) echo " <tr><td style=\"background-color: $this->bgcolor2;\">$comment->comment</td></tr>";
// print bottom link(s):
- echo " <tr><td align=\"right\" bgcolor=\"$this->bgcolor3\">[ $link ]</td></tr>";
+ echo " <tr><td style=\"background-color: $this->bgcolor3; text-align: right;\">[ $link ]</td></tr>";
echo " </table>";
?></td></tr></table><br /><?php
}
function box($subject, $content, $region = "main") {
?>
- <table border="0" cellpadding="0" cellspacing="0" bgcolor="<?php echo $this->brcolor1; ?>" width="100%">
+ <table border="0" cellpadding="0" cellspacing="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;">
<tr><td>
<?php
- print "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" width=\"100%\">";
- print " <tr><td align=\"center\" bgcolor=\"$this->bgcolor1\"><font color=\"$this->fgcolor1\"><b>$subject</b></font></td></tr>";
- print " <tr><td bgcolor=\"$this->bgcolor2\">$content</td></tr>";
+ print "<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" style=\"width: 100%;\">";
+ print " <tr><td style=\"background-color: $this->bgcolor1; text-align: center;\"><div style=\"color: $this->fgcolor1;\"><b>$subject</b></div></td></tr>";
+ print " <tr><td style=\"background-color: $this->bgcolor2;\">$content</td></tr>";
print "</table>";
?>
@@ -183,20 +183,20 @@
</td>
</tr>
<tr><td colspan="2"><?php
- print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"$this->brcolor1;\" width=\"100%\">";
+ print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"background-color: $this->brcolor1; width: 100%;\">";
print "<tr><td>";
- print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\">";
- print "<tr><td align=\"center\" bgcolor=\"$this->bgcolor2\"><font color=\"$this->fgcolor1\"><img src=\"" . $this->path . "/images/null.gif\" width=\"2\" height=\"2\" alt=\"\" /></font></td></tr>";
+ print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" style=\"width: 100%;\">";
+ print "<tr><td style=\"background-color: $this->bgcolor2; text-align: center;\"><div style=\"color: $this->fgcolor1;\"><img src=\"" . $this->path . "/images/null.gif\" width=\"2\" height=\"2\" alt=\"\" title=\"\" /></div></td></tr>";
print "</table>";
print "</td></tr></table>";
?></td></tr>
<tr>
<td colspan="2">
- <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="<?php echo $this->brcolor1; ?>"><tr><td align="center"><table border="0" width="100%" cellspacing="1" cellpadding="4"><tr><td align="center" bgcolor="<?php echo $this->bgcolor2; ?>"><?php print $this->links(link_page()); ?></td></tr></table></td></tr></table>
+ <table border="0" cellspacing="0" cellpadding="0" style="background-color: <?php echo $this->brcolor1; ?>; width: 100%;"><tr><td style="text-align: center;"><table border="0" cellspacing="1" cellpadding="4" style="width: 100%;"><tr><td style="background-color: <?php echo $this->bgcolor2; ?>; text-align: center;"><?php print $this->links(link_page()); ?></td></tr></table></td></tr></table>
</td>
</tr>
</table>
- </td><td bgcolor="<?php print $this->clc0; ?>"><img src="<?php print $this->path; ?>/images/null.gif" width="4" alt="" /></td><td bgcolor="<?php print $this->cl00; ?>"><img src="<?php print $this->path; ?>/images/null.gif" width="10" alt="" /></td></tr>
+ </td><td style="background-color: <?php print $this->clc0; ?>;"><img src="<?php print $this->path; ?>/images/null.gif" width="4" alt="" title="" /></td><td style="background-color: <?php print $this->cl00; ?>;"><img src="<?php print $this->path; ?>/images/null.gif" width="10" alt="" title="" /></td></tr>
</table>
</body>
</html>