diff options
author | friendica <info@friendica.com> | 2013-09-19 19:54:08 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-19 19:54:08 -0700 |
commit | 82bd1420cc264a985c1f201826b6bface70dec12 (patch) | |
tree | 02db64f2738fd6ee9fe891012908950e5c5bf192 | |
parent | 54abed8457c504e69e3d139238d2ff09b0ec6cc8 (diff) | |
parent | 30f85a19b1bee0ffaf2505db8d48f647dfee9ad1 (diff) | |
download | volse-hubzilla-82bd1420cc264a985c1f201826b6bface70dec12.tar.gz volse-hubzilla-82bd1420cc264a985c1f201826b6bface70dec12.tar.bz2 volse-hubzilla-82bd1420cc264a985c1f201826b6bface70dec12.zip |
Merge https://github.com/friendica/red into zpull
-rw-r--r-- | mod/directory.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php index c4305dfde..cc4e7e81f 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -70,7 +70,10 @@ function directory_content(&$a) { if($url) { // We might want to make the tagadelic count (&kw=) configurable or turn it off completely. - $query = $url . '?f=&kw=24' ; + $numtags = get_config('system','directorytags'); + + $kw = ((intval($numtags)) ? $numtags : 24); + $query = $url . '?f=&kw=' . $kw; if($search) $query .= '&name=' . urlencode($search) . '&keywords=' . urlencode($search); if(strpos($search,'@')) |