directory: link entry keywords to a directory keyword search
This commit is contained in:
parent
33bb89729c
commit
998f39868f
@ -299,9 +299,9 @@ class Directory extends \Zotlabs\Web\Controller {
|
|||||||
if(strlen($out))
|
if(strlen($out))
|
||||||
$out .= ', ';
|
$out .= ', ';
|
||||||
if($marr && in_arrayi($k,$marr))
|
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
|
else
|
||||||
$out .= $k;
|
$out .= '<a href="' . z_root() . '/directory/f=&keywords=' . urlencode($k) .'">' . $k . '</a>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user