summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-05-31 20:22:14 +0000
committerDries Buytaert <dries@buytaert.net>2002-05-31 20:22:14 +0000
commitb0ea30ed85b9e737bc6b3c7c5b7ec6ffe73c7803 (patch)
treeacc1b29ca70302194a08c157683c4b9ad2ae52f3
parent420ac9f4f729e6a1c720da940ba5455cd12c0c5b (diff)
downloadbrdo-b0ea30ed85b9e737bc6b3c7c5b7ec6ffe73c7803.tar.gz
brdo-b0ea30ed85b9e737bc6b3c7c5b7ec6ffe73c7803.tar.bz2
- Fixed missing translations and missing lm()'s (including the one Marco fixed).
-rw-r--r--modules/archive.module2
-rw-r--r--modules/archive/archive.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/archive.module b/modules/archive.module
index d7a91f3c7..2e3e281e1 100644
--- a/modules/archive.module
+++ b/modules/archive.module
@@ -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>". lm($nday, array("mod" => "archive", "date" => $date), "", array("style" => "text-decoration: none;")) ."</small></td>\n";
}
// Start every week on a new line:
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index d7a91f3c7..2e3e281e1 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -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>". lm($nday, array("mod" => "archive", "date" => $date), "", array("style" => "text-decoration: none;")) ."</small></td>\n";
}
// Start every week on a new line: