diff options
author | zotlabs <mike@macgirvin.com> | 2018-03-29 14:27:26 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-03-29 14:27:26 -0700 |
commit | 998f39868fd6a4dce11e9f32aabc2744c76785dd (patch) | |
tree | 2ea2fbaf50f05f2b03c8df9e605d32ee840a86ef /Zotlabs | |
parent | 33bb89729cdb7d8cc462253fd2b984e2e2bf4471 (diff) | |
download | volse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.tar.gz volse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.tar.bz2 volse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.zip |
directory: link entry keywords to a directory keyword search
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Directory.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php index 62a1670f9..87387ef56 100644 --- a/Zotlabs/Module/Directory.php +++ b/Zotlabs/Module/Directory.php @@ -299,9 +299,9 @@ class Directory extends \Zotlabs\Web\Controller { if(strlen($out)) $out .= ', '; if($marr && in_arrayi($k,$marr)) - $out .= '<strong>' . $k . '</strong>'; + $out .= '<a href="' . z_root() . '/directory/f=&keywords=' . urlencode($k) .'"><strong>' . $k . '</strong></a>'; else - $out .= $k; + $out .= '<a href="' . z_root() . '/directory/f=&keywords=' . urlencode($k) .'">' . $k . '</a>'; } } |