summaryrefslogtreecommitdiff
path: root/app/views/configure/categorize.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/configure/categorize.phtml')
-rw-r--r--app/views/configure/categorize.phtml55
1 files changed, 0 insertions, 55 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml
deleted file mode 100644
index 23d1c9fa1..000000000
--- a/app/views/configure/categorize.phtml
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php $this->partial ('aside_feed'); ?>
-
-<div class="post">
- <a href="<?php echo _url ('index', 'index'); ?>"><?php echo Minz_Translate::t ('back_to_rss_feeds'); ?></a>
-
- <form method="post" action="<?php echo _url ('configure', 'categorize'); ?>">
- <legend><?php echo Minz_Translate::t ('categories_management'); ?></legend>
-
- <p class="alert alert-warn"><?php echo Minz_Translate::t ('feeds_moved_category_deleted', $this->defaultCategory->name ()); ?></p>
-
- <?php $i = 0; foreach ($this->categories as $cat) { $i++; ?>
- <div class="form-group">
- <label class="group-name" for="cat_<?php echo $cat->id (); ?>">
- <?php echo Minz_Translate::t ('category_number', $i); ?>
- </label>
- <div class="group-controls">
- <div class="stick">
- <input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" />
-
- <?php if ($cat->nbFeed () > 0) { ?>
- <a class="btn" href="<?php echo _url('index', 'index', 'get', 'c_' . $cat->id ()); ?>">
- <?php echo _i('link'); ?>
- </a>
- <button formaction="<?php echo _url('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"
- class="btn btn-attention confirm"
- data-str-confirm="<?php echo _t('confirm_action_feed_cat'); ?>"
- type="submit"><?php echo _t('ask_empty'); ?></button>
- <?php } ?>
- </div>
- (<?php echo Minz_Translate::t ('number_feeds', $cat->nbFeed ()); ?>)
-
- <?php if ($cat->id () === $this->defaultCategory->id ()) { ?>
- <?php echo FreshRSS_Themes::icon('help'); ?> <?php echo Minz_Translate::t ('can_not_be_deleted'); ?>
- <?php } ?>
-
- <input type="hidden" name="ids[]" value="<?php echo $cat->id (); ?>" />
- </div>
- </div>
- <?php } ?>
-
- <div class="form-group">
- <label class="group-name" for="new_category"><?php echo Minz_Translate::t ('add_category'); ?></label>
- <div class="group-controls">
- <input type="text" id="new_category" name="new_category" placeholder="<?php echo Minz_Translate::t ('new_category'); ?>" />
- </div>
- </div>
-
- <div class="form-group form-actions">
- <div class="group-controls">
- <button type="submit" class="btn btn-important"><?php echo Minz_Translate::t ('save'); ?></button>
- <button type="reset" class="btn"><?php echo Minz_Translate::t ('cancel'); ?></button>
- </div>
- </div>
- </form>
-</div>