Просмотр исходного кода

Merge pull request #595 from aledeg/filter-cat

Add a link to filter categories
Alexandre Alapetite 11 лет назад
Родитель
Сommit
845cde2456
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      app/views/configure/categorize.phtml

+ 3 - 0
app/views/configure/categorize.phtml

@@ -18,6 +18,9 @@
 					<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 type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button>
 					<?php } ?>
 				</div>