From dd6b68911c274b692a60c4a2629f2c077abdc8fb Mon Sep 17 00:00:00 2001 From: "John R. D'Orazio" Date: Fri, 25 Oct 2024 23:00:42 +0200 Subject: [PATCH] set default selected values --- php/index.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/php/index.php b/php/index.php index 7ac7ce8..989e027 100644 --- a/php/index.php +++ b/php/index.php @@ -132,11 +132,11 @@ $apiOptions = new ApiOptions(); $apiOptions->acceptHeaderInput->hide(); Input::setGlobalWrapper('td'); -$apiOptions->localeInput->labelAfter('
'); -$apiOptions->epiphanyInput->labelAfter('
'); -$apiOptions->ascensionInput->labelAfter('
'); -$apiOptions->corpusChristiInput->labelAfter('
'); -$apiOptions->eternalHighPriestInput->labelAfter('
'); +$apiOptions->localeInput->labelAfter('
')->selectedValue($litSettings->Locale); +$apiOptions->epiphanyInput->labelAfter('
')->selectedValue($litSettings->Epiphany); +$apiOptions->ascensionInput->labelAfter('
')->selectedValue($litSettings->Ascension); +$apiOptions->corpusChristiInput->labelAfter('
')->selectedValue($litSettings->CorpusChristi); +$apiOptions->eternalHighPriestInput->labelAfter('
')->selectedValue($litSettings->EternalHighPriest); if ($litSettings->NationalCalendar !== null || $litSettings->DiocesanCalendar !== null) { $apiOptions->epiphanyInput->disabled(); $apiOptions->ascensionInput->disabled();