diff options
| author | 2014-09-19 19:44:40 +0200 | |
|---|---|---|
| committer | 2014-09-19 19:44:40 +0200 | |
| commit | d284958d52f633738e8cc736f7f4a50e0c984ecf (patch) | |
| tree | 2580fd65e1250284095ef4ab07e492930df29322 /app/views | |
| parent | 921dd88e646621a0118c97716cae6b34a0ed26b1 (diff) | |
Improve redirection when deleting an idle feed
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/stats/idle.phtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml index 3ce8d3d3e..6f3d4a117 100644 --- a/app/views/stats/idle.phtml +++ b/app/views/stats/idle.phtml @@ -6,6 +6,10 @@ <h1><?php echo _t('stats_idle'); ?></h1> <?php + $current_url = urlencode(Minz_Url::display( + array('c' => 'stats', 'a' => 'idle'), + 'php', true + )); $nothing = true; foreach ($this->idleFeeds as $period => $feeds) { if (!empty($feeds)) { @@ -22,7 +26,7 @@ <div class="stick"> <a class="btn" href="<?php echo _url('index', 'index', 'get', 'f_' . $feed['id']); ?>"><?php echo _i('link'); ?> <?php echo _t('filter'); ?></a> <a class="btn" href="<?php echo _url('configure', 'feed', 'id', $feed['id']); ?>"><?php echo _i('configure'); ?> <?php echo _t('administration'); ?></a> - <button class="btn btn-attention confirm" form="form-delete" formaction="<?php echo _url('feed', 'delete', 'id', $feed['id']); ?>"><?php echo _t('delete'); ?></button> + <button class="btn btn-attention confirm" form="form-delete" formaction="<?php echo _url('feed', 'delete', 'id', $feed['id'], 'r', $current_url); ?>"><?php echo _t('delete'); ?></button> </div> </li> <li class="item"> |
