Added possible “noxiousness” explanation box
This commit is contained in:
parent
988cb959fe
commit
46428670a4
1 changed files with 5 additions and 1 deletions
|
@ -476,7 +476,7 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) {
|
||||||
$out.=$row['MaxTootChars'];
|
$out.=$row['MaxTootChars'];
|
||||||
$out.='</div>'.N;
|
$out.='</div>'.N;
|
||||||
$out.='<div><span class="ilab">'._('Noxious').'</span> ';
|
$out.='<div><span class="ilab">'._('Noxious').'</span> ';
|
||||||
($row['Noxious']==1) ? $out.='<span class="ibad">'._('Yes').'</span>' : $out.='<span class="igood">'._('No').'</span>';
|
($row['Noxious']==1) ? $out.='<span class="ibad">'._('Yes (see why below)').'</span>' : $out.='<span class="igood">'._('No').'</span>';
|
||||||
$out.='</div>'.N;
|
$out.='</div>'.N;
|
||||||
$out.='<div><span class="ilab">'._('New').'</span> ';
|
$out.='<div><span class="ilab">'._('New').'</span> ';
|
||||||
($row['New']==1) ? $out.='<span class="ivgood">'._('Yes!').'</span>' : $out.=_('No');
|
($row['New']==1) ? $out.='<span class="ivgood">'._('Yes!').'</span>' : $out.=_('No');
|
||||||
|
@ -512,6 +512,10 @@ while ($if<$il && $row=mysqli_fetch_assoc($res)) {
|
||||||
}
|
}
|
||||||
$out.='</div>'.N;
|
$out.='</div>'.N;
|
||||||
|
|
||||||
|
if ($row['Noxious']) {
|
||||||
|
$out.='<div><div class="noxlab">'._('Why we consider this instance noxious').'</div><div class="noxreas">'.nully(strip(nl2br(trim(n2es($row['NoxReason'])),false),$row['URI'])).'</div></div>'.N;
|
||||||
|
}
|
||||||
|
|
||||||
$out.='<div><div class="idlab">'._('Short description').'</div><div class="idesc">'.nully(strip(nl2br(trim(n2es($row['ShortDesc'])),false),$row['URI'])).'</div></div>'.N;
|
$out.='<div><div class="idlab">'._('Short description').'</div><div class="idesc">'.nully(strip(nl2br(trim(n2es($row['ShortDesc'])),false),$row['URI'])).'</div></div>'.N;
|
||||||
$out.='<div><div class="idlab">'._('Long description').'</div><div class="idesc">'.nully(strip(trim(n2es($row['LongDesc'])),$row['URI'])).'</div></div>'.N;
|
$out.='<div><div class="idlab">'._('Long description').'</div><div class="idesc">'.nully(strip(trim(n2es($row['LongDesc'])),$row['URI'])).'</div></div>'.N;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue