diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-11-13 19:52:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-11-13 19:52:54 +0000 |
commit | 36bb57555c1be31a19db442db35befba3188633a (patch) | |
tree | 6574d74df4b72cfe71d07f1aff33acb4761756c7 /modules/comment/comment.module | |
parent | e8de9721d83489a836f3d74f982f751d358fbc9e (diff) | |
download | brdo-36bb57555c1be31a19db442db35befba3188633a.tar.gz brdo-36bb57555c1be31a19db442db35befba3188633a.tar.bz2 |
- table(...) -> theme("table", ...)
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index b75d4c2cf..a0bcad654 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -939,7 +939,7 @@ function comment_node_link($node) { if ($rows) { $output = "<h3>". t("Edit comments") ."</h3>"; - $output .= table($header, $rows); + $output .= theme("table", $header, $rows); } return $output; @@ -1011,7 +1011,7 @@ function comment_admin_overview($status = 0) { $rows[] = array(array("data" => $pager, "colspan" => 6)); } - return table($header, $rows); + return theme("table", $header, $rows); } function comment_mod_matrix($edit) { @@ -1050,7 +1050,7 @@ function comment_mod_matrix($edit) { } $rows[] = $row; } - $output .= table($header, $rows); + $output .= theme("table", $header, $rows); $output .= "<br />". form_submit(t("Submit votes")); return form($output); @@ -1075,7 +1075,7 @@ function comment_mod_roles($edit) { $rows[] = array($role->name, array("data" => form_textfield(NULL, $role->rid, $start_values[$role->rid], 4, 3), "align" => "center")); } - $output .= table($header, $rows); + $output .= theme("table", $header, $rows); $output .= "<br />". form_submit(t("Save scores")); return form($output); @@ -1110,7 +1110,7 @@ function comment_mod_votes($edit) { while ($vote = db_fetch_object($result)) { $rows[] = array($vote->vote, array("data" => $vote->weight, "align" => "center"), array("data" => l(t("edit"), "admin/comment/moderation/votes/$vote->mid"), "align" => "center")); } - $output .= table($header, $rows); + $output .= theme("table", $header, $rows); if ($mid) { $vote = db_fetch_object(db_query("SELECT vote, weight FROM {moderation_votes} WHERE mid = %d", $mid)); @@ -1161,7 +1161,7 @@ function comment_mod_filters($edit) { while ($filter = db_fetch_object($result)) { $rows[] = array($filter->filter, array("data" => $filter->minimum, "align" => "center"), array("data" => l(t("edit"), "admin/comment/moderation/filters/$filter->fid"), "align" => "center")); } - $output .= table($header, $rows); + $output .= theme("table", $header, $rows); if ($fid) { $filter = db_fetch_object(db_query("SELECT filter, fid, minimum FROM {moderation_filters} WHERE fid = %d", $fid)); |