summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-01-20 07:45:15 +0000
committerGreg Roach <fisharebest@gmail.com>2015-01-20 07:45:15 +0000
commit95e9a662fcc96ab3017b1925810afaf38f940286 (patch)
tree790cb8e4ef98c385417ef2bd693bff6ab73a9509
parentaba687e3b5201037f50ca50a02e388d98b0a946b (diff)
downloadwebtrees-95e9a662fcc96ab3017b1925810afaf38f940286.tar.gz
webtrees-95e9a662fcc96ab3017b1925810afaf38f940286.tar.bz2
webtrees-95e9a662fcc96ab3017b1925810afaf38f940286.zip
Month
-rw-r--r--calendar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar.php b/calendar.php
index ca178142c4..06a309ec76 100644
--- a/calendar.php
+++ b/calendar.php
@@ -338,7 +338,7 @@ if ($view === 'day') {
} else {
echo '<a href="?cal=', $cal, '&amp;day=', $cal_date->d, '&amp;month=', $cal_month, '&amp;year=', $cal_date->y, '&amp;filterev=', $filterev, '&amp;filterof=', $filterof, '&amp;filtersx=', $filtersx, '&amp;view=day">', WT_I18N::translate('View day'), '</a>';
}
-if ($view === 'calendar') {
+if ($view === 'month') {
echo ' | <span class="error">', WT_I18N::translate('View month'), '</span>';
} else {
echo ' | <a href="?cal=', $cal, '&amp;day=', $cal_date->d, '&amp;month=', $cal_month, '&amp;year=', $cal_date->y, '&amp;filterev=', $filterev, '&amp;filterof=', $filterof, '&amp;filtersx=', $filtersx, '&amp;view=month">', WT_I18N::translate('View month'), '</a>';