Commit 5a6a4206 authored by Dries's avatar Dries

- fixed HTML/XHTML typos
parent 7a1aee87
......@@ -367,7 +367,7 @@ function node_block() {
global $theme;
$block[0][subject] = t("Syndicate");
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" alt=\"XML\" /></a></div>\n";
$block[0][info] = "Syndicate";
return $block;
......
......@@ -367,7 +367,7 @@ function node_block() {
global $theme;
$block[0][subject] = t("Syndicate");
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" /></a></div>\n";
$block[0][content] = "<div align=\"center\"><a href=\"module.php?mod=node&op=feed\"><img src=\"". $theme->image("xml.gif") ."\" width=\"36\" height=\"14\" border=\"0\" alt=\"XML\" /></a></div>\n";
$block[0][info] = "Syndicate";
return $block;
......
......@@ -23,14 +23,14 @@ function header() {
<html>
<head>
<title><?php print variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", ""); ?></title>
<style type="text/css">
<!--
BODY { margin: 10px; font-size: 12pt; font-family: Verdana, Helvetica; }
SMALL { font-size: 10pt; }
FONT, P, TH, TD, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A { font-size: 12pt; font-family: Verdana, Helvetica; }
-->
</style>
</head>
<style type="text/css">
<!--
BODY { margin: 10px; font-size: 12pt; font-family: Verdana, Helvetica; }
SMALL { font-size: 10pt; }
FONT, P, TH, TD, TR, FORM, OL, UL, LI, INPUT, TEXTAREA, SELECT, A { font-size: 12pt; font-family: Verdana, Helvetica; }
-->
</style>
<body text="#000000" bgcolor="#ffffff" alink="#cccccc" link="#665566" vlink="#665566">
<table border="0" cellpadding="8" cellspacing="0">
<tr>
......@@ -59,7 +59,7 @@ function node($node, $main = 0) {
print " <tr><td nowrap=\"nowrap\"><font color=\"#7C7C7C\"><small>". strtr(t("Submitted by %a on %b"), array("%a" => format_name($node), "%b" => format_date($node->timestamp, "large"))); ?><?php print "</small></font></td><td align=\"right\" valign=\"top\" nowrap><small>". node_index($node) ."</small></td></tr>\n";
print " <tr><td colspan=\"2\">&nbsp;</td></tr>\n";
print " <tr><td colspan=\"2\"><p>". check_output($node->body, 1) ."</p></td></tr>\n";
print " <tr><td colspan=\"2\">&nbsp;</tr></tr>\n";
print " <tr><td colspan=\"2\">&nbsp;</td></tr>\n";
if ($main) print " <tr><td colspan=\"2\">". $this->links(link_node($node)) ."</td></tr>\n";
print "</table>\n";
print "<br /><br />\n\n";
......@@ -131,7 +131,7 @@ function box($subject, $content, $region = "main") {
print "<br />\n\n";
}
function links($links, $delimiter = " &middot ") {
function links($links, $delimiter = " &middot; ") {
return implode($delimiter, $links);
}
......@@ -143,7 +143,7 @@ function footer() {
theme_account("all", $this);
theme_blocks("all", $this);
?>
</tr>
</td>
</tr>
<tr>
<td align="center" colspan="2">
......
......@@ -42,18 +42,18 @@ function header() {
<HTML>
<HEAD>
<TITLE><?php echo variable_get(site_name, "drupal"); ?></TITLE>
<STYLE type="text/css">
<!--
TABLE { border-width: 0; }
TD { border-width: 0; font-size: 10pt; font-family: verdana,helvetica,arial; }
P,UL,LI,DIV,FORM,EM,BLOCKQUOTE { font-size: 10pt; font-family: verdana,helvetica,arial; }
BODY { margin: 10px; font-size: 10pt; font-family: verdana,helvetica,arial; }
SMALL { font-size: 8pt; }
BIG { font-size: 12pt; }
HR { height: 1px; color: #000000; }
-->
</STYLE>
</HEAD>
<STYLE type="text/css">
<!--
TABLE { border-width: 0; }
TD { border-width: 0; font-size: 10pt; font-family: verdana,helvetica,arial; }
P,UL,LI,DIV,FORM,EM,BLOCKQUOTE { font-size: 10pt; font-family: verdana,helvetica,arial; }
BODY { margin: 10px; font-size: 10pt; font-family: verdana,helvetica,arial; }
SMALL { font-size: 8pt; }
BIG { font-size: 12pt; }
HR { height: 1px; color: #000000; }
-->
</STYLE>
<BODY TEXT="#000000" BGCOLOR="<?php print $this->clc0; ?>" ALINK="#000000" LINK="#404040" VLINK="#404040" MARGINHEIGHT="10" MARGINWIDTH="10">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" ALIGN="CENTER" WIDTH="100%">
<TR><TD BGCOLOR="<?php print $this->cl00; ?>"><IMG SRC="themes/<?php print $this->themename; ?>/images/null.gif" WIDTH="10"></TD><TD BGCOLOR="<?php print $this->clc0; ?>"><IMG SRC="themes/<?php print $this->themename; ?>/images/null.gif" WIDTH="4"></TD>
......@@ -75,7 +75,7 @@ function header() {
print "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"1\" WIDTH=\"100%\">";
print "<TR><TD ALIGN=\"center\" BGCOLOR=\"$this->bgcolor2\"><FONT COLOR=\"$this->fgcolor1\"><IMG SRC=\"themes/" . $this->themename . "/images/null.gif\" WIDTH=\"2\" HEIGHT=\"2\"></FONT></TD></TR>";
print "</TABLE>";
print "</TR></TD></TABLE>";
print "</TD></TR></TABLE>";
?></TD></TR>
<TR>
<TD VALIGN="top" WIDTH="80%">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment