Skip to content

Commit 7e5a9de

Browse files
committed
Add semicolumn after endif & endforeach
1 parent c4ddc41 commit 7e5a9de

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

templates/policy.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<td><?= isset($row['category']) ? $row['category'] : '' ?></td>
101101
<td><?= isset($row['purpose']) ? $row['purpose'] : '' ?></td>
102102
</tr>
103-
<?php endforeach ?>
103+
<?php endforeach; ?>
104104
</tbody>
105105
</table>
106106

themes/ssp/authX509/X509error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class="float-l"
1717
<p><b><?= $this->t('{errors:title_' . $this->data['errorcode'] . '}') ?></b></p>
1818
<p><?= $this->t('{errors:descr_' . $this->data['errorcode'] . '}') ?></p>
1919
</div>
20-
<?php endif ?>
20+
<?php endif; ?>
2121
<h2 style="break: both"><?= $this->t('{authX509:X509error:certificate_header}') ?></h2>
2222

2323
<p><?= $this->t('{authX509:X509error:certificate_text}') ?></p>

themes/ssp/authorize/authorize_403.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<p><?= $this->data['403_text'] ?></p>
2020
<?php if (isset($this->data['LogoutURL'])) : ?>
2121
<p><a href="<?= htmlspecialchars($this->data['LogoutURL']) ?>"><?= $this->t('{status:logout}') ?></a></p>
22-
<?php endif ?>
22+
<?php endif; ?>
2323

2424
<?php
2525
$this->includeAtTemplateBase('includes/footer.php');

themes/ssp/default/error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<button type="submit" name="send" class="btn"><?= $this->t('report_submit') ?></button>
6868
</p>
6969
</form>
70-
<?php endif ?>
70+
<?php endif; ?>
7171
<h2 style="clear: both"><?= $this->t('howto_header') ?></h2>
7272
<p><?= $this->t('howto_text') ?></p>
7373
<script type="text/javascript">

themes/ssp/default/includes/footer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
>
2828
<?= $this->t('{themevanilla:discopower:cookies_link_text}') ?>
2929
</a>
30-
<?php endif ?>
30+
<?php endif; ?>
3131
</p>
3232
<a id="js-accept-cookies" class="cookies-ok" href="#">
3333
<?= $this->t('{themevanilla:discopower:cookies_accept_btn_text}') ?>
3434
</a>
3535
</div>
3636
</div>
3737
<!-- /cookies popup -->
38-
<?php endif ?>
38+
<?php endif; ?>
3939

4040
<footer class="ssp-footer text-center">
4141
<div class="container ssp-footer--container">

themes/ssp/default/includes/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
if ($this->isLanguageRTL()) : ?>
121121
<link rel="stylesheet" type="text/css" href="/<?= $this->data['baseurlpath'] ?>resources/default-rtl.css" />
122-
<?php endif ?>
122+
<?php endif; ?>
123123

124124

125125
<meta name="robots" content="noindex, nofollow" />

0 commit comments

Comments
 (0)