Files
FreshRSS/app/views/index/about.phtml
Alexandre Alapetite 7a5236de3f Take advantage of PHP 5.4+ short echo (#2585)
* 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
2019-10-23 11:18:20 +02:00

27 lines
780 B
PHTML

<div class="post content">
<a href="<?= _url('index', 'index') ?>"><?= _t('gen.action.back_to_rss_feeds') ?></a>
<h1><?= _t('index.about') ?></h1>
<dl class="infos">
<dt><?= _t('index.about.project_website') ?></dt>
<dd><a href="<?= FRESHRSS_WEBSITE ?>"><?= FRESHRSS_WEBSITE ?></a></dd>
<dt><?= _t('index.about.bugs_reports') ?></dt>
<dd><?= _t('index.about.github') ?></dd>
<dt><?= _t('index.about.license') ?></dt>
<dd><?= _t('index.about.agpl3') ?></dd>
<?php if (FreshRSS_Auth::hasAccess()): ?>
<dt><?= _t('index.about.version') ?></dt>
<dd><?= FRESHRSS_VERSION ?></dd>
<?php endif; ?>
</dl>
<p><?= _t('index.about.freshrss_description') ?></p>
<h1><?= _t('index.about.credits') ?></h1>
<p><?= _t('index.about.credits_content') ?></p>
</div>