diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/aggregator.module | 2 | ||||
-rw-r--r-- | modules/aggregator/aggregator.module | 2 | ||||
-rw-r--r-- | modules/block.module | 4 | ||||
-rw-r--r-- | modules/block/block.module | 4 | ||||
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | modules/import.module | 2 | ||||
-rw-r--r-- | modules/statistics.module | 6 | ||||
-rw-r--r-- | modules/statistics/statistics.module | 6 | ||||
-rw-r--r-- | modules/watchdog.module | 2 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
11 files changed, 17 insertions, 17 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module index bed70896e..9da1b50d3 100644 --- a/modules/aggregator.module +++ b/modules/aggregator.module @@ -735,7 +735,7 @@ function import_page_blocks($blocks) { theme("header"); theme("box", t("News feeds"), import_page_info()); - print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" width=\"100%\">\n"; + print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" style=\"width: 100%;\">\n"; print " <tr>\n"; for ($t = 0; $t < 3; $t++) { diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index bed70896e..9da1b50d3 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -735,7 +735,7 @@ function import_page_blocks($blocks) { theme("header"); theme("box", t("News feeds"), import_page_info()); - print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" width=\"100%\">\n"; + print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" style=\"width: 100%;\">\n"; print " <tr>\n"; for ($t = 0; $t < 3; $t++) { diff --git a/modules/block.module b/modules/block.module index aebde7488..39d7e8125 100644 --- a/modules/block.module +++ b/modules/block.module @@ -172,7 +172,7 @@ function block_admin_preview() { while ($block = db_fetch_object($result)) { $block_data = module_invoke($block->module, "block", "list"); $name = $block_data[$block->delta]["info"]; - $rblocks .= " <tr><td nowrap=\"nowrap\">". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; + $rblocks .= " <tr><td>". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; } $rblocks .= "</table>\n"; @@ -188,7 +188,7 @@ function block_admin_preview() { while ($block = db_fetch_object($result)) { $block_data = module_invoke($block->module, "block", "list"); $name = $block_data[$block->delta]["info"]; - $blocks .= " <tr><td nowrap=\"nowrap\">". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; + $blocks .= " <tr><td>". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; } $blocks .= "</table>\n"; diff --git a/modules/block/block.module b/modules/block/block.module index aebde7488..39d7e8125 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -172,7 +172,7 @@ function block_admin_preview() { while ($block = db_fetch_object($result)) { $block_data = module_invoke($block->module, "block", "list"); $name = $block_data[$block->delta]["info"]; - $rblocks .= " <tr><td nowrap=\"nowrap\">". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; + $rblocks .= " <tr><td>". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; } $rblocks .= "</table>\n"; @@ -188,7 +188,7 @@ function block_admin_preview() { while ($block = db_fetch_object($result)) { $block_data = module_invoke($block->module, "block", "list"); $name = $block_data[$block->delta]["info"]; - $blocks .= " <tr><td nowrap=\"nowrap\">". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; + $blocks .= " <tr><td>". ($block->status == 2 ? "<b>$name</b>" : $name) ."</td><td>$block->weight</td></tr>\n"; } $blocks .= "</table>\n"; diff --git a/modules/comment.module b/modules/comment.module index 40a8b4408..8e4221cba 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1293,7 +1293,7 @@ function comment_thread_max($comment, $threshold, $level = 0) { */ if ($level) { - print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td style=\"width: ". ($level * 25) ."px;\"> </td><td>\n"; + print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"width: 100%;\"><tr><td style=\"width: ". ($level * 25) ."px;\"> </td><td>\n"; } comment_view($comment, comment_links($comment, 0), comment_visible($comment, $threshold)); diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 40a8b4408..8e4221cba 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1293,7 +1293,7 @@ function comment_thread_max($comment, $threshold, $level = 0) { */ if ($level) { - print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\"><tr><td style=\"width: ". ($level * 25) ."px;\"> </td><td>\n"; + print "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"width: 100%;\"><tr><td style=\"width: ". ($level * 25) ."px;\"> </td><td>\n"; } comment_view($comment, comment_links($comment, 0), comment_visible($comment, $threshold)); diff --git a/modules/import.module b/modules/import.module index bed70896e..9da1b50d3 100644 --- a/modules/import.module +++ b/modules/import.module @@ -735,7 +735,7 @@ function import_page_blocks($blocks) { theme("header"); theme("box", t("News feeds"), import_page_info()); - print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" width=\"100%\">\n"; + print "<table cellpadding=\"0\" cellspacing=\"5\" border=\"0\" style=\"width: 100%;\">\n"; print " <tr>\n"; for ($t = 0; $t < 3; $t++) { diff --git a/modules/statistics.module b/modules/statistics.module index 0ca5b51fa..ad0180a6a 100644 --- a/modules/statistics.module +++ b/modules/statistics.module @@ -752,7 +752,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { } if ($displaycount = variable_get("statistics_userpage_day_cnt", 10)) { - $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\"100%\">"; + $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" style=\"width: 100%;\">"; $output .= statistics_summary("daycount", $displaycount); $output .= "</table>"; @@ -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\" style=\"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\" style=\"width: 100%;\">"; $output .= statistics_summary("timestamp", $displaycount); $output .= "</table>"; diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module index 0ca5b51fa..ad0180a6a 100644 --- a/modules/statistics/statistics.module +++ b/modules/statistics/statistics.module @@ -752,7 +752,7 @@ function statistics_page_user($uid = 0, $date = 0, $all = 0) { } if ($displaycount = variable_get("statistics_userpage_day_cnt", 10)) { - $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" width=\"100%\">"; + $output = "<table border=\"0\" cellpadding=\"4\" cellspacing=\"4\" style=\"width: 100%;\">"; $output .= statistics_summary("daycount", $displaycount); $output .= "</table>"; @@ -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\" style=\"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\" style=\"width: 100%;\">"; $output .= statistics_summary("timestamp", $displaycount); $output .= "</table>"; diff --git a/modules/watchdog.module b/modules/watchdog.module index 97cbf14ec..957aae8c7 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -57,7 +57,7 @@ function watchdog_overview($type) { while ($watchdog = db_fetch_object($result)) { if ($background = $color[$watchdog->type]) { - $data .= " <tr bgcolor=\"$background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td style=\"text-align: center;\">". format_name($watchdog) ."</td><td style=\"text-align: center;\">$watchdog->link</td><td style=\"text-align: center;\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; + $data .= " <tr style=\"background-color: $background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td style=\"text-align: center;\">". format_name($watchdog) ."</td><td style=\"text-align: center;\">$watchdog->link</td><td style=\"text-align: center;\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; } } diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index 97cbf14ec..957aae8c7 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -57,7 +57,7 @@ function watchdog_overview($type) { while ($watchdog = db_fetch_object($result)) { if ($background = $color[$watchdog->type]) { - $data .= " <tr bgcolor=\"$background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td style=\"text-align: center;\">". format_name($watchdog) ."</td><td style=\"text-align: center;\">$watchdog->link</td><td style=\"text-align: center;\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; + $data .= " <tr style=\"background-color: $background\"><td>". format_date($watchdog->timestamp, "small") ."</td><td>". substr(strip_tags($watchdog->message), 0, 64) ."</td><td style=\"text-align: center;\">". format_name($watchdog) ."</td><td style=\"text-align: center;\">$watchdog->link</td><td style=\"text-align: center;\">". l(t("view details"), "admin/watchdog/view/$watchdog->wid") ."</td></tr>"; } } |