|
4 | 4 | $this->data['jquery'] = ['core' => true]; |
5 | 5 |
|
6 | 6 | $this->includeAtTemplateBase('includes/header.php'); |
| 7 | +?> |
7 | 8 |
|
8 | | -echo '<h3>' . $this->data['header'] . '</h3>'; |
9 | | -echo '<p>' . $this->data['noconsent_text'] . '</p>'; |
| 9 | +<h3><?= $this->data['header'] ?></h3> |
| 10 | +<p><?= $this->data['noconsent_text'] ?></p> |
10 | 11 |
|
11 | | -echo '<div class="ssp-btns-container">'; |
12 | | -if ($this->data['resumeFrom']) { |
13 | | - echo ( |
14 | | - '<a href="' . htmlspecialchars($this->data['resumeFrom']) |
15 | | - . '" class="ssp-btn btn ssp-btn__action ssp-btns-container--btn__left text-uppercase">' |
16 | | - . $this->t('{consent:consent:noconsent_return}') |
17 | | - . '</a>' |
18 | | - ); |
19 | | -} |
| 12 | +<div class="ssp-btns-container"> |
| 13 | + <?php if ($this->data['resumeFrom']) : ?> |
| 14 | + <a |
| 15 | + href="<?= htmlspecialchars($this->data['resumeFrom']) ?>" |
| 16 | + class="ssp-btn btn ssp-btn__action ssp-btns-container--btn__left text-uppercase" |
| 17 | + > |
| 18 | + <?= $this->t('{consent:consent:noconsent_return}') ?> |
| 19 | + </a> |
| 20 | + <?php endif; |
20 | 21 |
|
21 | | -if ($this->data['aboutService']) { |
22 | | - echo ('<a href="' . htmlspecialchars($this->data['aboutService']) . '" class="ssp-btn btn text-uppercase">'); |
23 | | - echo ($this->t('{consent:consent:noconsent_goto_about}')); |
24 | | - echo ('</a>'); |
25 | | -} |
| 22 | + if ($this->data['aboutService']) : ?> |
| 23 | + <a |
| 24 | + href="<?= htmlspecialchars($this->data['aboutService']) ?>" |
| 25 | + class="ssp-btn btn text-uppercase" |
| 26 | + > |
| 27 | + <?= $this->t('{consent:consent:noconsent_goto_about}') ?> |
| 28 | + </a> |
| 29 | + <?php endif; ?> |
26 | 30 |
|
27 | | -echo ( |
28 | | - '<a href="' . htmlspecialchars($this->data['logoutLink']) |
29 | | - . '" class="ssp-btn btn ssp-btn__warning text-uppercase ssp-btns-container--btn__right">' |
30 | | - . $this->data['noconsent_abort'] . '</a>' |
31 | | -); |
32 | | -echo '</div>'; //ssp-btns-container |
| 31 | + <a |
| 32 | + href="<?= htmlspecialchars($this->data['logoutLink']) ?>" |
| 33 | + class="ssp-btn btn ssp-btn__warning text-uppercase ssp-btns-container--btn__right" |
| 34 | + > |
| 35 | + <?= $this->data['noconsent_abort'] ?> |
| 36 | + </a> |
| 37 | +</div> <!-- ssp-btns-container --> |
33 | 38 |
|
| 39 | +<?php |
34 | 40 | $this->includeAtTemplateBase('includes/footer.php'); |
0 commit comments