From e4d2e2200e04c8df699d9a8efade661123ef7ac8 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Sep 2013 17:47:26 -0700 Subject: add "tiered" access policy, add tagcloud to directory pages --- include/taxonomy.php | 2 +- include/zot.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'include') 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 = '

' . t('Keywords') . '

'; foreach($r as $rr) { - $o .= ''.$rr['term'].' ' . "\r\n"; + $o .= ''.$rr['term'].' ' . "\r\n"; } $o .= '
'; } 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); -- cgit v1.2.3