diff --git a/mod/siteinfo.php b/mod/siteinfo.php index e436800c..b6085b9e 100755 --- a/mod/siteinfo.php +++ b/mod/siteinfo.php @@ -26,12 +26,14 @@ function siteinfo_content(&$a) { $o .= '
Friendica is experiencing very rapid growth and we need more public portals - as some of our primary servers are reaching capacity. Friendica is a decentralised and distributed network. Help us share the load. If you can provide a Friendica server for public use, please send the URL to info at friendica dot com. We will include you in our list.
'; - $r = q("select * from site where url != '' and version != '' order by rand()"); + $r = q("select * from site where url != '' and version != '' and not plugins like '%%testdrive%%' order by rand()"); $policy = array ( 'REGISTER_CLOSED' => 'closed', 'REGISTER_OPEN' => 'open', 'REGISTER_APPROVE' => 'requires approval'); + $results = false; if(count($r)) { + $results = true; $o .= '' . t('Site Name') . ' | '; @@ -56,17 +58,38 @@ function siteinfo_content(&$a) { $o .= '' . $rr['updated'] . ' | '; $o .= '
Sites that could not be verified. May be running older versions.
'; + $o .= 'Sites that could not be verified. May be running older versions.
'; +// foreach($r as $rr) { +// $o .= '' . $rr['url'] . '