diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-22 09:05:36 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-04-22 09:05:36 +0000 |
commit | de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8 (patch) | |
tree | 8b0aa9828f941161183b27e74b6fdc0a167e0021 /modules/archive.module | |
parent | 5b5551674d3721cee39c21dd6843700315521f91 (diff) | |
download | brdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.gz brdo-de5b9a168daeef12b6f7bcf6e43b767a2d7f35d8.tar.bz2 |
- bug fixes:
* fixed mails not being parsed properly.
* tracker now shows user name when you view your own recent
comments.
* link to submission queue now points to the right place.
* fixed jabber module.
* theme is now activated when changed.
- applied Gerhards coding style patch.
Diffstat (limited to 'modules/archive.module')
-rw-r--r-- | modules/archive.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/archive.module b/modules/archive.module index 7dbe4eda0..1d711a9a8 100644 --- a/modules/archive.module +++ b/modules/archive.module @@ -33,14 +33,14 @@ function archive_display($original = 0) { // Generate calendar header: $output .= "\n<!-- calendar -->\n"; $output .= "<table width=\"100%\" border=\"1\" cellspacing=\"0\" cellpadding=\"1\">\n"; - $output .= " <tr><td align=\"center\" colspan=\"7\"><small>".lm("<", array("mod" => "archive", "date" => $prev))." ". date("F Y", $original) ." " . ($next <= $thislast ? lm(">", array("mod" => "archive", "date" => $next)) : ">") . "</small></td></tr>\n"; + $output .= " <tr><td align=\"center\" colspan=\"7\"><small>". lm("<", array("mod" => "archive", "date" => $prev)) ." ". date("F Y", $original) ." ". ($next <= $thislast ? lm(">", array("mod" => "archive", "date" => $next)) : ">") ."</small></td></tr>\n"; // Generate the days of the week: $somesunday = mktime(0, 0, 0, 3, 20, 1994); $output .= " <tr>"; for ($i = 0; $i < 7; $i++) { - $output .= "<td align=\"center\"><small>" . substr(ucfirst(t(date("l", $somesunday + $i * 86400))), 0, 1) . "</small></td>"; + $output .= "<td align=\"center\"><small>". substr(ucfirst(t(date("l", $somesunday + $i * 86400))), 0, 1) ."</small></td>"; } $output .= "</tr>\n"; @@ -72,7 +72,7 @@ function archive_display($original = 0) { } else { // due to text-decoration we use drupal_url() instead of lm() - $output .= " <td align=\"center\"><small><a href=\"".drupal_url(array("mod" => "archive", "date" => $date), "module")." \" style=\"text-decoration: none;\">$nday</a></small></td>\n"; + $output .= " <td align=\"center\"><small><a href=\"". drupal_url(array("mod" => "archive", "date" => $date), "module") ." \" style=\"text-decoration: none;\">$nday</a></small></td>\n"; } // Start every week on a new line: |