diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-15 19:06:25 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-15 19:06:25 +0000 |
commit | eb030cb9d8839bd08cb2bd1e4f954efe37047303 (patch) | |
tree | dcd7f9e913cbf5707208bfc36376e38632eb05c8 /modules/statistics.module | |
parent | a0e0ea93371646a28c3dc71b0b077035ab6569d6 (diff) | |
download | brdo-eb030cb9d8839bd08cb2bd1e4f954efe37047303.tar.gz brdo-eb030cb9d8839bd08cb2bd1e4f954efe37047303.tar.bz2 |
- Improvements: XHTML-ifications. Patch by GmbH.
Diffstat (limited to 'modules/statistics.module')
-rw-r--r-- | modules/statistics.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/statistics.module b/modules/statistics.module index b8bab8277..0ca5b51fa 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -761,7 +761,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { if ($displaycount = variable_get("statistics_userpage_all_cnt", "10")) { - $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\100%\">"; + $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\"100%\">"; $output .= statistics_summary("totalcount", $displaycount); $output .= "</table>"; @@ -769,7 +769,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { } if ($displaycount = variable_get("statistics_userpage_last_cnt", "10")) { - $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\100%\">"; + $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\"100%\">"; $output .= statistics_summary("timestamp", $displaycount); $output .= "</table>"; @@ -787,9 +787,9 @@ function statistics_summary($dbfield, $dbrows) { $content = node_load(array("nid" => $nid["nid"])); $links = link_node($content, 1); - $output .= "<tr><td><b>". l($nid["title"], "node/view/". $nid["nid"], array("title" => t("View this posting."))) ."</b></td><td align=\"right\"><small>". t("Submitted by %a on %b", array("%a" => format_name($content), "%b" => format_date($content->created, "large"))) ."</small></td></tr>"; + $output .= "<tr><td><b>". l($nid["title"], "node/view/". $nid["nid"], array("title" => t("View this posting."))) ."</b></td><td style=\"text-align: right;\"><small>". t("Submitted by %a on %b", array("%a" => format_name($content), "%b" => format_date($content->created, "large"))) ."</small></td></tr>"; $output .= "<tr><td colspan=\"2\"><div style=\"margin-left: 20px;\">". check_output($content->teaser) ."</div></td></tr>"; - $output .= "<tr><td align=\"right\" colspan=\"2\">[ ". theme("links", $links) ." ]<br /><br /></td></tr>"; + $output .= "<tr><td style=\"text-align: right;\" colspan=\"2\">[ ". theme("links", $links) ." ]<br /><br /></td></tr>"; } return $output; |