aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-29 14:27:26 -0700
committerzotlabs <mike@macgirvin.com>2018-03-29 14:27:26 -0700
commit998f39868fd6a4dce11e9f32aabc2744c76785dd (patch)
tree2ea2fbaf50f05f2b03c8df9e605d32ee840a86ef
parent33bb89729cdb7d8cc462253fd2b984e2e2bf4471 (diff)
downloadvolse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.tar.gz
volse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.tar.bz2
volse-hubzilla-998f39868fd6a4dce11e9f32aabc2744c76785dd.zip
directory: link entry keywords to a directory keyword search
-rw-r--r--Zotlabs/Module/Directory.php4
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>';
}
}