diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/taxonomy.php | 2 | ||||
-rw-r--r-- | include/zot.php | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index a3c3fc7b4..85396a51d 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=&keywords=' . urlencode($rr['term']).'" class="tag'.$rr['normalise'].'">'.$rr['term'].'</a> ' . "\r\n"; + $o .= '<a href="'.$link .'/' . '?f=&keywords=' . urlencode($rr['term']).'" class="tag'.$rr['normalise'].'" rel="nofollow" >'.$rr['term'].'</a> ' . "\r\n"; } $o .= '</div></div>'; } diff --git a/include/zot.php b/include/zot.php index 3929fa4c1..a98aca711 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1409,7 +1409,8 @@ function import_directory_profile($hash,$profile) { if(in_arrayi('nsfw',$clean) || in_arrayi('adult',$clean)) { q("update xchan set xchan_flags = (xchan_flags | %d) where xchan_hash = '%s' limit 1", - intval(XCHAN_FLAGS_CENSORED) + intval(XCHAN_FLAGS_CENSORED), + dbesc($hash) ); } |