diff options
author | Alexey Torkhov <atorkhov@gmail.com> | 2009-05-26 12:07:58 +0200 |
---|---|---|
committer | Alexey Torkhov <atorkhov@gmail.com> | 2009-05-26 12:07:58 +0200 |
commit | 3b4371639fc812f3ef82891919849de43fc1156e (patch) | |
tree | 62993200d606b4f4c1ae99f460f1700ff0ff81ed | |
parent | c490825174ef8849814e5c397430337e4cfe1340 (diff) | |
download | rpg-3b4371639fc812f3ef82891919849de43fc1156e.tar.gz rpg-3b4371639fc812f3ef82891919849de43fc1156e.tar.bz2 |
don't include search string into hierarchical breadcrumbs FS#1672
Ignore-this: 7611558571da7ac66b9fd5e2b17b1750
darcs-hash:20090526100758-a0ecd-4cbfceba2b396de68856ff95732661f79d6c3d81.gz
-rw-r--r-- | inc/template.php | 6 |
1 files changed, 6 insertions, 0 deletions
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 '<span class="bchead">'.$lang['youarehere'].': </span>'; // always print the startpage |