mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-08 00:17:15 -05:00
* Add PHPStan #fix https://github.com/FreshRSS/FreshRSS/issues/4016 https://phpstan.org/ ```sh composer run-script phpstan ``` * More fixes * Fix global variables * Add .phtml * Fix merge https://github.com/FreshRSS/FreshRSS/pull/4090 * Fix more warnings * Fix view errors and enable in CI * ReturnTypeWillChange * Dynamic view type * Fix Minz static/self bug
17 lines
346 B
PHTML
17 lines
346 B
PHTML
<?php /** @var FreshRSS_View $this */ ?>
|
|
<?php
|
|
|
|
if (!Minz_Request::param('ajax')) {
|
|
$this->partial('aside_subscription');
|
|
}
|
|
|
|
if ($this->feed) {
|
|
$this->renderHelper('feed/update');
|
|
} else {
|
|
?>
|
|
<div class="alert alert-warn">
|
|
<span class="alert-head"><?= _t('sub.feed.no_selected') ?></span>
|
|
<?= _t('sub.feed.think_to_add') ?>
|
|
</div>
|
|
<?php } ?>
|