Benefits->CanEditEbookPlaceholders){ throw new Exceptions\InvalidPermissionsException(); } if($ebook === null){ $ebook = Ebook::GetByIdentifier($identifier); } if(!$ebook->IsPlaceholder() || $ebook->EbookPlaceholder === null){ throw new Exceptions\EbookNotFoundException(); } if($exception){ http_response_code(Enums\HttpCode::UnprocessableContent->value); session_unset(); } } catch(Exceptions\EbookNotFoundException){ Template::Emit404(); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::Emit403(); } ?> 'Edit Ebook Placeholder for ' . $ebook->Title, 'css' => ['/css/ebook-placeholder.css'], 'highlight' => '', 'description' => 'Edit the ebook placeholder for ' . $ebook->Title ] ) ?>

Edit Ebook Placeholder

$exception]) ?>
$ebook]) ?>