mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-01-19 02:37:55 -05:00
* Take advantage of PHP 5.4+ short echo https://php.net/migration54.new-features thanks to https://github.com/FreshRSS/FreshRSS/pull/2495 Use `<?= ?>` instead of `<?php echo; ?>` 10kB of code saved :-) Done with regular expression: ``` <\?php echo (.+?);? *\?> <?= \1 ?> ``` * Try Travis fix https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272
10 lines
295 B
PHTML
10 lines
295 B
PHTML
<div class="post">
|
|
<div class="alert alert-error">
|
|
<h1 class="alert-head"><?= $this->code ?></h1>
|
|
<p>
|
|
<?= htmlspecialchars($this->errorMessage, ENT_NOQUOTES, 'UTF-8') ?><br />
|
|
<a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
|
|
</p>
|
|
</div>
|
|
</div>
|