pubsites: we still need to filter really really old redmatrix sites. These will not provide a pleasant experience. We probably should add version to the table.

This commit is contained in:
redmatrix 2016-09-07 13:45:52 -07:00
parent 1fa7e2994a
commit 77e865fc8e

View file

@ -36,6 +36,8 @@ class Pubsites extends \Zotlabs\Web\Controller {
$o .= '</tr>';
if($j['sites']) {
foreach($j['sites'] as $jj) {
if(! $jj['project'])
continue;
$m = parse_url($jj['url']);
$host = strtolower(substr($jj['url'],strpos($jj['url'],'://')+3));
$rate_links = ((local_channel()) ? '<td><a href="rate?f=&target=' . $host . '" class="btn-btn-default"><i class="fa fa-check-square-o"></i> ' . t('Rate') . '</a></td>' : '');