Made the string about missing server thumbnail hopefully clearer

This commit is contained in:
pezcurrel 2023-01-07 17:51:19 +01:00
parent 05607aba5b
commit c267f96be1

View file

@ -397,7 +397,7 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) {
$out.='<div class="iimgc"><a href="https://'.hspech($row['URI']).'" title="'._('Go to instance').'"><img class="iimg" src="'.$thumb.'"></a>';
// if (!is_null($row['Priority'])) $out.='<img src="'.$prepath.'imgs/featured-it.svg" class="ifeat">';
if (!is_null($row['Priority'])) $out.='<div class="dfeat">'._('Recommended').'</div>';
if ($row['Thumb']=='unavailable' && $row['WasLastCheckOk']==1) $out.='<div class="unavmsg">'._('It seems like this instances server thumbnails URL points to a non existent file. This is usually easily fixeable by admins by uploading again the server thumbnail. Note that if you do it, the change wont be displayed here before the daily automatic update of this instances infos occurs.').'</div>';
if ($row['Thumb']=='unavailable' && $row['WasLastCheckOk']==1) $out.='<div class="unavmsg">'._('It seems like this instances server thumbnails URL points to a non existent file. This is usually easily fixable by the instances admin(s) by uploading again the image to their server. Note that the change wont be displayed here before the nightly automatic update of this instances infos occurs.').'</div>';
$out.='</div>'.N;
$out.='<div class="icol">'.N;
$out.='<div><span class="ilab">'._('Name').'</span> <a href="https://'.hspech($row['URI']).'" title="'._('Go to instance').'">'.nully(hspech($row['Title'])).'</a></div>'.N;