Commit 16984de5 authored by Leigh Stoller's avatar Leigh Stoller

Oops, last revision was messed up cause I was editing in the wrong place.

parent 1cfd5842
...@@ -487,7 +487,7 @@ function FormRender($attributes, $errors, $fields, $submitted = null) ...@@ -487,7 +487,7 @@ function FormRender($attributes, $errors, $fields, $submitted = null)
$html .= "</table><br><br>\n"; $html .= "</table><br><br>\n";
reset($errors); reset($errors);
} }
$html .= "<div align=center>\n";
$html .= "<table align=center border=1>\n"; $html .= "<table align=center border=1>\n";
if ($caption) if ($caption)
$html .= "<caption>$caption</caption>\n"; $html .= "<caption>$caption</caption>\n";
...@@ -501,12 +501,14 @@ function FormRender($attributes, $errors, $fields, $submitted = null) ...@@ -501,12 +501,14 @@ function FormRender($attributes, $errors, $fields, $submitted = null)
$html .= "</table>\n"; $html .= "</table>\n";
if (count($footnotes)) { if (count($footnotes)) {
$html .= "<div align=center><h4><ol>\n"; $html .= "<div style=\"width:90%; margin:auto; text-align: left\">\n";
$html .= "<font size=-1><ol>\n";
foreach ($footnotes as $i => $note) { foreach ($footnotes as $i => $note) {
$html .= "<li>$note\n"; $html .= "<li>$note</li>\n";
} }
$html .= "</ol></h4></div>\n"; $html .= "</ol></font></div>\n";
} }
$html .= "</div>\n";
echo "$html\n"; echo "$html\n";
} }
......
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