Shortened the “wrong server thumbnail URL” message

This commit is contained in:
pezcurrel 2022-12-29 09:54:55 +01:00
parent f2b3642bcd
commit bf92c42a83

View file

@ -511,7 +511,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') $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 (“Preferences” &gt; “Administration” &gt; “Server settings” &gt; “Branding” &gt; “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') $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>';
$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;