aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-22 23:02:47 +0200
committerThomas Lange <code@nerdmind.de>2021-07-22 23:11:54 +0200
commit15c9912ac842c3774d911e738bbac7ee6e567eb9 (patch)
treebada1c594e740f3fb205a50d140d0293723bbebf
parent6b110bd109ceeb0a351c5da5427e66befe727292 (diff)
downloadblog-15c9912ac842c3774d911e738bbac7ee6e567eb9.tar.gz
blog-15c9912ac842c3774d911e738bbac7ee6e567eb9.tar.xz
blog-15c9912ac842c3774d911e738bbac7ee6e567eb9.zip
Add quick link from category item to post search
Add a quick link to the post search in the administration area with the category of the item preselected to search only posts in this category.
-rw-r--r--theme/admin/html/category/item.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/theme/admin/html/category/item.php b/theme/admin/html/category/item.php
index 0c6d243..ea98c02 100644
--- a/theme/admin/html/category/item.php
+++ b/theme/admin/html/category/item.php
@@ -38,6 +38,7 @@
<ul>
<li><a href="<?=$CATEGORY['URL']?>" target="_blank" title="<?=$Language->text('select_category')?>"><i class="fa fa-external-link"></i><span class="hidden"><?=$Language->text('select_category')?></span></a></li>
<li><a href="<?=Application::getAdminURL("category/update.php?id={$CATEGORY['ATTR']['ID']}")?>" title="<?=$Language->text('update_category')?>"><i class="fa fa-pencil-square-o"></i><span class="hidden"><?=$Language->text('update_category')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL("post/search.php?category={$CATEGORY['ATTR']['ID']}")?>" title="<?=$Language->text('search_post')?>"><i class="fa fa-search"></i><span class="hidden"><?=$Language->text('search_post')?></span></a></li>
<li><a href="<?=Application::getAdminURL("category/delete.php?id={$CATEGORY['ATTR']['ID']}")?>" title="<?=$Language->text('delete_category')?>"><i class="fa fa-trash-o"></i><span class="hidden"><?=$Language->text('delete_category')?></span></a></li>
</ul>
</footer>