mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 07:14:59 -04:00
Make titlecasing in <h1> and page titles consistent
This commit is contained in:
parent
e8f958558a
commit
77ce4cc6b4
18 changed files with 44 additions and 36 deletions
|
@ -19,10 +19,10 @@ catch(Exceptions\AppException){
|
|||
Template::Emit404();
|
||||
}
|
||||
|
||||
?><?= Template::Header(['title' => 'Thank you for voting!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
|
||||
?><?= Template::Header(['title' => 'Your Vote Has Been Recorded!', 'highlight' => '', 'description' => 'Thank you for voting in a Standard Ebooks poll!']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Your vote has been recorded!</h1>
|
||||
<h1>Your Vote Has Been Recorded!</h1>
|
||||
<? if($created){ ?>
|
||||
<p class="center-notice">Thank you for voting in the <a href="<?= $vote->PollItem->Poll->Url ?>"><?= Formatter::EscapeHtml($vote->PollItem->Poll->Name) ?> poll</a>.</p>
|
||||
<? }else{ ?>
|
||||
|
|
|
@ -49,7 +49,7 @@ catch(Exceptions\PollVoteExistsException $ex){
|
|||
header('Location: ' . $redirect);
|
||||
exit();
|
||||
}
|
||||
?><?= Template::Header(['title' => $poll->Name . ' - Vote Now', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
|
||||
?><?= Template::Header(['title' => 'Vote in the ' . $poll->Name . ' Poll', 'highlight' => '', 'description' => 'Vote in the ' . $poll->Name . ' poll']) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
<h1>Vote in the <?= Formatter::EscapeHtml($poll->Name) ?> Poll</h1>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue