mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
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:
parent
1fa7e2994a
commit
77e865fc8e
1 changed files with 2 additions and 0 deletions
|
@ -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>' : '');
|
||||
|
|
Loading…
Reference in a new issue