diff options
| author | 2022-02-05 10:57:36 +0100 | |
|---|---|---|
| committer | 2022-02-05 10:57:36 +0100 | |
| commit | be9c06fd5c1bfed8e0147c938b96e4876df98133 (patch) | |
| tree | 3113a9d106ee19f3d5a43dce6620a1b03d72341e /app/views/helpers/feed/update.phtml | |
| parent | dc27baa7d67f4bc601ced80229844a88a7ca23d4 (diff) | |
Improved: Idle feeds list in a new layout (#4192)
* that should work fine
* fixed phpcs
* fixed phpcs
Diffstat (limited to 'app/views/helpers/feed/update.phtml')
| -rw-r--r-- | app/views/helpers/feed/update.phtml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml index a1567afc0..ed6db9b1f 100644 --- a/app/views/helpers/feed/update.phtml +++ b/app/views/helpers/feed/update.phtml @@ -18,7 +18,15 @@ <p class="alert alert-warn"><?= _t('sub.feed.empty') ?></p> <?php } ?> - <form method="post" action="<?= _url('subscription', 'feed', 'id', $this->feed->id()) ?>" autocomplete="off"> + <?php + $from = Minz_Request::param('from'); + if ($from === false) { + $url = _url('subscription', 'feed', 'id', $this->feed->id()); + } else { + $url = _url('subscription', 'feed', 'id', $this->feed->id(), 'from', $from); + } + ?> + <form method="post" action="<?= $url ?>" autocomplete="off"> <input type="hidden" name="_csrf" value="<?= FreshRSS_Auth::csrfToken() ?>" /> <legend><?= _t('sub.feed.information') ?></legend> <div class="form-group"> |
