mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 12:54:48 -04:00
Add donation alerts during the holidays
This commit is contained in:
parent
b07f406d9f
commit
0e7100cfe8
5 changed files with 77 additions and 0 deletions
|
@ -110,6 +110,9 @@ catch(\Exception $ex){
|
|||
|
||||
<section id="description">
|
||||
<h2>Description</h2>
|
||||
<? if(DONATION_ALERT_ON){ ?>
|
||||
<?= Template::DonationAlert() ?>
|
||||
<? } ?>
|
||||
<? if($ebook->LongDescription === null){ ?>
|
||||
<p><i>There’s no description for this ebook yet.</i></p>
|
||||
<? }else{ ?>
|
||||
|
|
|
@ -129,6 +129,9 @@ catch(\Exception $ex){
|
|||
?><?= Template::Header(['title' => $pageTitle, 'highlight' => 'ebooks', 'description' => $pageDescription]) ?>
|
||||
<main class="ebooks">
|
||||
<h1><?= $pageHeader ?></h1>
|
||||
<? if(DONATION_ALERT_ON){ ?>
|
||||
<?= Template::DonationAlert() ?>
|
||||
<? } ?>
|
||||
<? if($collection === null){ ?>
|
||||
<?= Template::SearchForm(['query' => $query, 'tags' => $tags, 'sort' => $sort, 'view' => $view, 'perPage' => $perPage]) ?>
|
||||
<? } ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue