diff options
author | friendica <info@friendica.com> | 2013-09-18 17:47:26 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-09-18 17:47:26 -0700 |
commit | e4d2e2200e04c8df699d9a8efade661123ef7ac8 (patch) | |
tree | eb97cdeb19f72ef9dbddf5074510bf9f82f50632 /include | |
parent | e06b4c6dfc0b3419f35dd8d42770d1c983523830 (diff) | |
download | volse-hubzilla-e4d2e2200e04c8df699d9a8efade661123ef7ac8.tar.gz volse-hubzilla-e4d2e2200e04c8df699d9a8efade661123ef7ac8.tar.bz2 volse-hubzilla-e4d2e2200e04c8df699d9a8efade661123ef7ac8.zip |
add "tiered" access policy, add tagcloud to directory pages
Diffstat (limited to 'include')
-rw-r--r-- | include/taxonomy.php | 2 | ||||
-rw-r--r-- | include/zot.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index 30eb08f65..a3c3fc7b4 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -221,7 +221,7 @@ function dir_tagblock($link,$r) { if($r) { $o = '<div class="dirtagblock widget"><h3>' . t('Keywords') . '</h3><div class="tags" align="center">'; foreach($r as $rr) { - $o .= '<a href="'.$link .'/' . '?f=&keyword=' . urlencode($rr['term']).'" class="tag'.$rr['weight'].'">'.$rr['term'].'</a> ' . "\r\n"; + $o .= '<a href="'.$link .'/' . '?f=&keywords=' . urlencode($rr['term']).'" class="tag'.$rr['normalise'].'">'.$rr['term'].'</a> ' . "\r\n"; } $o .= '</div></div>'; } diff --git a/include/zot.php b/include/zot.php index c416d18f9..58b3d74d3 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1563,6 +1563,8 @@ function import_site($arr,$pubkey) { $access_policy = ACCESS_PAID; if($arr['access_policy'] === 'free') $access_policy = ACCESS_FREE; + if($arr['access_policy'] === 'tiered') + $access_policy = ACCESS_TIERED; } $directory_url = htmlentities($arr['directory_url'],ENT_COMPAT,'UTF-8',false); |