aboutsummaryrefslogtreecommitdiffstats
path: root/category.php
diff options
context:
space:
mode:
Diffstat (limited to 'category.php')
-rw-r--r--category.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/category.php b/category.php
index 6a0b7a651..5889f505c 100644
--- a/category.php
+++ b/category.php
@@ -165,6 +165,16 @@ $template->assign_vars(
'U_PROFILE'=> PHPWG_ROOT_PATH.'profile.php'
)
);
+
+if (isset($page['cat']) and 'search' == $page['cat'])
+{
+ $template->assign_block_vars(
+ 'search_rules',
+ array(
+ 'URL' => PHPWG_ROOT_PATH.'/search_rules.php?search_id='.$_GET['search'],
+ )
+ );
+}
//-------------------------------------------------------------- external links
if (count($conf['links']) > 0)
{