From 3b4371639fc812f3ef82891919849de43fc1156e Mon Sep 17 00:00:00 2001 From: Alexey Torkhov Date: Tue, 26 May 2009 12:07:58 +0200 Subject: don't include search string into hierarchical breadcrumbs FS#1672 Ignore-this: 7611558571da7ac66b9fd5e2b17b1750 darcs-hash:20090526100758-a0ecd-4cbfceba2b396de68856ff95732661f79d6c3d81.gz --- inc/template.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inc/template.php b/inc/template.php index e582e67b5..980fc744c 100644 --- a/inc/template.php +++ b/inc/template.php @@ -855,6 +855,12 @@ function tpl_youarehere($sep=' » '){ $parts = explode(':', $ID); $count = count($parts); + if($GLOBALS['ACT'] == 'search') + { + $parts = array($conf['start']); + $count = 1; + } + echo ''.$lang['youarehere'].': '; // always print the startpage -- cgit v1.2.3