Fixed a flaw in instances.php introductory text
This commit is contained in:
parent
c2ce51ca2d
commit
5c70c8c55c
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ function presub() {
|
|||
$res=tquery('SELECT COUNT(ID) AS tinsts, SUM(UserCount) AS tusers, SUM(StatusCount) AS tstatuses, SUM(ActiveUsersMonth) AS tactusers FROM Instances WHERE IsMastodon=1 AND LastOkCheckTS>='.$graceline,__LINE__);
|
||||
$row=mysqli_fetch_assoc($res);
|
||||
echo(_('<div id="help" class="hiddiv"><p class="intro">This search engine for Mastodon instances is based on a database that gets updated by our crawler every night (CET). Instances are considered new for 30 days after they are discovered. When an instance has not responded to our daily checks for more than 30 days it’s no longer considered in statistics and searches and it gets checked only on the first of the month, rather than daily, until it possibly responds again. “Random ordering” of results varies daily.</p><p class="intro">Default search criteria reflect our fondness for a decentralized and egalitarian Fediverse and our attempt to exclude instances accepting fascist, racist, sexist, ableist or sovereignist contents by marking them as noxious.</p></div>').N);
|
||||
printf(_('<p class="intro">We currently count <span class="statd">%s</span> Mastodon instances, with <span class="statd">%s</span> users (<span class="statd">%s</span> active during last month) and <span class="statd">%s</span> published statuses.</p>'.N.'<h4><a id="msswitch" onclick="swmetastats();" style="cursor:pointer;">Show Threads moderation statistics</a></h4>'), fnum($row['tinsts'],0,$dlang), fnum($row['tusers'],0,$dlang), fnum($row['tactusers'],0,$dlang), fnum($row['tstatuses'],0,$dlang));
|
||||
printf(_('<p class="intro">We currently count <span class="statd">%s</span> Mastodon instances, with <span class="statd">%s</span> users (<span class="statd">%s</span> active during last month) and <span class="statd">%s</span> published statuses.</p><h4><a id="msswitch" onclick="swmetastats();" style="cursor:pointer;">Show Threads moderation statistics</a></h4>'), fnum($row['tinsts'],0,$dlang), fnum($row['tusers'],0,$dlang), fnum($row['tactusers'],0,$dlang), fnum($row['tstatuses'],0,$dlang));
|
||||
|
||||
//echo '<pre>'.print_r($metastats,true).'</pre>'.N;
|
||||
|
||||
|
|
Loading…
Reference in a new issue