diff options
| author | 2014-09-30 16:31:38 +0200 | |
|---|---|---|
| committer | 2014-09-30 16:31:38 +0200 | |
| commit | 13fb1170c06bd67ba69534e823ea6f5861c745dd (patch) | |
| tree | 11bcd4f537b860cf46f8a7d601f1925f12334e22 /app/views/configure | |
| parent | b9ddffdade8f6b8ba32684ca7eb640338074e61b (diff) | |
Move deletion of categories into new Controller
Fix i18n (occured -> occurred)
See https://github.com/marienfressinaud/FreshRSS/issues/646
Diffstat (limited to 'app/views/configure')
| -rw-r--r-- | app/views/configure/categorize.phtml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml index 5cd962ae4..781c4bb14 100644 --- a/app/views/configure/categorize.phtml +++ b/app/views/configure/categorize.phtml @@ -44,7 +44,14 @@ formaction="<?php echo _url('category', 'empty', 'id', $cat->id()); ?>"> <?php echo _t('ask_empty'); ?></button> </li> - <li class="item"><a href=""><?php echo _t('delete'); ?></a></li> + <li class="item"> + <button class="as-link confirm" + data-str-confirm="<?php echo _t('confirm_action_feed_cat'); ?>" + type="submit" + form="controller-category" + formaction="<?php echo _url('category', 'delete', 'id', $cat->id()); ?>"> + <?php echo _t('delete'); ?></button> + </li> </ul> </div> </div> |
