diff options
| author | 2022-04-27 04:45:33 +0800 | |
|---|---|---|
| committer | 2022-04-26 22:45:33 +0200 | |
| commit | 20ee2a84705b179571b784e9948992e2a2576160 (patch) | |
| tree | adce64263d8e667c4aaa1de11a4ce25e2c1d9120 /app/views/subscription/index.phtml | |
| parent | 347290aae6513d127258c49f239aa36d090a5542 (diff) | |
add category automatically (#4333)
* Update index.phtml
Added "cat_id" query string to the "Add an RSS feed" link (in div: box)
* Update add.phtml
Function: Select category by query string 'cat_id'
* Update index.phtml
add query string "cat_id"
* Update index.phtml
Diffstat (limited to 'app/views/subscription/index.phtml')
| -rw-r--r-- | app/views/subscription/index.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 446d64bff..e85cd8392 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -60,7 +60,7 @@ ?> <li class="item feed disabled"><div class="alert-warn"><?= _t('sub.category.empty') ?></div></li> <?php } ?> - <li class="item feed">✚ <a href="<?= _url('subscription', 'add') ?>"><?= _t('sub.feed.add') ?></a></li> + <li class="item feed">✚ <a href="<?= _url('subscription', 'add', 'cat_id', $cat->id()) ?>"><?= _t('sub.feed.add') ?></a></li> </ul> </div> <?php } ?> |
