diff --git a/templates/CollectionFormatted.php b/templates/CollectionDescriptor.php similarity index 100% rename from templates/CollectionFormatted.php rename to templates/CollectionDescriptor.php diff --git a/www/contribute/wanted-ebooks.php b/www/contribute/wanted-ebooks.php index 5d302640..a8b2854f 100644 --- a/www/contribute/wanted-ebooks.php +++ b/www/contribute/wanted-ebooks.php @@ -14,7 +14,7 @@ function WantedEbooks(Enums\EbookPlaceholderDifficulty $difficulty, ?bool $showP if(isset($ebook->EbookPlaceholder->TranscriptionUrl)){ ?> } ?> = Formatter::EscapeHtml($ebook->Title) ?> if(isset($ebook->EbookPlaceholder->TranscriptionUrl)){ ?> } ?> if(sizeof($ebook->CollectionMemberships) > 0){ ?> - ( foreach($ebook->CollectionMemberships as $index => $collectionMembership){ ?>= Template::CollectionFormatted(['collectionMembership' => $collectionMembership]) ?> if($index < sizeof($ebook->CollectionMemberships) - 1){ ?>, } ?> } ?>) + ( foreach($ebook->CollectionMemberships as $index => $collectionMembership){ ?>= Template::CollectionDescriptor(['collectionMembership' => $collectionMembership]) ?> if($index < sizeof($ebook->CollectionMemberships) - 1){ ?>, } ?> } ?>) } ?> by = Formatter::EscapeHtml($ebook->AuthorsString) ?> if($ebook->ContributorsHtml != ''){ ?>. } ?> = $ebook->ContributorsHtml ?> diff --git a/www/ebook-placeholders/get.php b/www/ebook-placeholders/get.php index 24b42f15..b8efc3cc 100644 --- a/www/ebook-placeholders/get.php +++ b/www/ebook-placeholders/get.php @@ -78,7 +78,7 @@ catch(Exceptions\EbookNotFoundException){ if(sizeof($ebook->CollectionMemberships) > 0){ ?> foreach($ebook->CollectionMemberships as $collectionMembership){ ?>
- = Template::CollectionFormatted(['collectionMembership' => $collectionMembership]) ?>. + = Template::CollectionDescriptor(['collectionMembership' => $collectionMembership]) ?>.
} ?> } ?> diff --git a/www/ebooks/get.php b/www/ebooks/get.php index 6f9689fc..bdad3614 100644 --- a/www/ebooks/get.php +++ b/www/ebooks/get.php @@ -132,7 +132,7 @@ catch(Exceptions\EbookNotFoundException){ if(sizeof($ebook->CollectionMemberships) > 0){ ?> foreach($ebook->CollectionMemberships as $collectionMembership){ ?>- = Template::CollectionFormatted(['collectionMembership' => $collectionMembership]) ?>. + = Template::CollectionDescriptor(['collectionMembership' => $collectionMembership]) ?>.
} ?> } ?> diff --git a/www/ebooks/public-domain-day-placeholder.php b/www/ebooks/public-domain-day-placeholder.php index be43aae7..65f4465e 100644 --- a/www/ebooks/public-domain-day-placeholder.php +++ b/www/ebooks/public-domain-day-placeholder.php @@ -69,7 +69,7 @@ catch(Exceptions\EbookNotFoundException){ if(sizeof($ebook->CollectionMemberships) > 0){ ?> foreach($ebook->CollectionMemberships as $collectionMembership){ ?>- = Template::CollectionFormatted(['collectionMembership' => $collectionMembership]) ?>. + = Template::CollectionDescriptor(['collectionMembership' => $collectionMembership]) ?>.
} ?> } ?>