summaryrefslogtreecommitdiff
path: root/modules/archive/archive.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-06-27 17:48:20 +0000
committerDries Buytaert <dries@buytaert.net>2003-06-27 17:48:20 +0000
commitf4df719502527597f6340be8016fd4b649cc1967 (patch)
treece9ece43874885689942c5288fb7e1927c02e620 /modules/archive/archive.module
parent2323e5723395dd9c793b301650b69bdd0a37e273 (diff)
downloadbrdo-f4df719502527597f6340be8016fd4b649cc1967.tar.gz
brdo-f4df719502527597f6340be8016fd4b649cc1967.tar.bz2
- Reworked the CXX checking; now, _any_ user input will be checked
and the request will be terminated when something suspicious is detected. This will be logged in the watchdog. With help from Marco. - Fixed translation issue in the archive module. Patch by Gerhard. - Removed dead parameter from variable_get(). Patch by Chris Johnson. Fixes bug #2111. - Improved input checking of taxonomy module. Patch by Gerhard. Fixes bug #2112.
Diffstat (limited to 'modules/archive/archive.module')
-rw-r--r--modules/archive/archive.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/archive/archive.module b/modules/archive/archive.module
index 206d90f76..b69d4feb1 100644
--- a/modules/archive/archive.module
+++ b/modules/archive/archive.module
@@ -87,7 +87,7 @@ function archive_calendar($original = 0) {
$output .= " <tr class=\"header-week\">";
for ($i = 0; $i < 7; $i++) {
- $output .= "<td>". substr(ucfirst(t(date("l", $firstcolumn + $i * 86400))), 0, 1) ."</td>";
+ $output .= "<td>". t(substr(ucfirst(date("l", $firstcolumn + $i * 86400)), 0, 2)) ."</td>";
}
$output .= "</tr>\n";