summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--calendar.php36
1 files changed, 18 insertions, 18 deletions
diff --git a/calendar.php b/calendar.php
index 27d3edf452..28487b8d48 100644
--- a/calendar.php
+++ b/calendar.php
@@ -188,15 +188,15 @@ echo '<td class="descriptionbox vmiddle">';
echo '<td class="optionbox vmiddle">';
echo '<select class="list_value" name="filterof" onchange="document.dateform.submit();">';
echo '<option value="all"';
- if ($filterof == "all") echo 'selected="selected"';
+ if ($filterof == "all") echo ' selected="selected"';
echo '>', WT_I18N::translate('All People'), '</option>';
if (!$HIDE_LIVE_PEOPLE || WT_USER_ID) {
echo '<option value="living"';
- if ($filterof == "living") echo 'selected="selected"';
+ if ($filterof == "living") echo ' selected="selected"';
echo '>', WT_I18N::translate('Living People'), '</option>';
}
echo '<option value="recent"';
- if ($filterof == "recent") echo 'selected="selected"';
+ if ($filterof == "recent") echo ' selected="selected"';
echo '>', WT_I18N::translate('Recent Years (&lt; 100 yrs)'), '</option>';
echo '</select>';
@@ -228,49 +228,49 @@ else {
echo "<input type=\"hidden\" name=\"filterev\" value=\"$filterev\" />";
echo '<select class="list_value" name="filterev" onchange="document.dateform.submit();">';
echo '<option value="bdm"';
-if ($filterev == "bdm") echo 'selected="selected"';
+if ($filterev == "bdm") echo ' selected="selected"';
echo '>', WT_I18N::translate('Births, Deaths, Marriages'), '</option>';
echo '<option value="all"';
-if ($filterev == "all") echo 'selected="selected"';
+if ($filterev == "all") echo ' selected="selected"';
echo '>', WT_I18N::translate('All'), '</option>';
echo '<option value="BIRT"';
-if ($filterev == "BIRT") echo 'selected="selected"';
+if ($filterev == "BIRT") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('BIRT'), '</option>';
echo '<option value="CHR"';
-if ($filterev == "CHR") echo 'selected="selected"';
+if ($filterev == "CHR") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('CHR'), '</option>';
echo '<option value="CHRA"';
-if ($filterev == "CHRA") echo 'selected="selected"';
+if ($filterev == "CHRA") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('CHRA'), '</option>';
echo '<option value="BAPM"';
-if ($filterev == "BAPM") echo 'selected="selected"';
+if ($filterev == "BAPM") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('BAPM'), '</option>';
echo '<option value="_COML"';
-if ($filterev == "_COML") echo 'selected="selected"';
+if ($filterev == "_COML") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('_COML'), '</option>';
echo '<option value="MARR"';
-if ($filterev == "MARR") echo 'selected="selected"';
+if ($filterev == "MARR") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('MARR'), '</option>';
echo '<option value="_SEPR"';
-if ($filterev == "_SEPR") echo 'selected="selected"';
+if ($filterev == "_SEPR") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('_SEPR'), '</option>';
echo '<option value="DIV"';
-if ($filterev == "DIV") echo 'selected="selected"';
+if ($filterev == "DIV") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('DIV'), '</option>';
echo '<option value="DEAT"';
-if ($filterev == "DEAT") echo 'selected="selected"';
+if ($filterev == "DEAT") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('DEAT'), '</option>';
echo '<option value="BURI"';
-if ($filterev == "BURI") echo 'selected="selected"';
+if ($filterev == "BURI") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('BURI'), '</option>';
echo '<option value="IMMI"';
-if ($filterev == "IMMI") echo 'selected="selected"';
+if ($filterev == "IMMI") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('IMMI'), '</option>';
echo '<option value="EMIG"';
-if ($filterev == "EMIG") echo 'selected="selected"';
+if ($filterev == "EMIG") echo ' selected="selected"';
echo '>', WT_Gedcom_Tag::getLabel('EMIG'), '</option>';
echo '<option value="EVEN"';
-if ($filterev == "EVEN") echo 'selected="selected"';
+if ($filterev == "EVEN") echo ' selected="selected"';
echo '>', WT_I18N::translate('Custom Event'), '</option>';
echo '</select>';