--- a/documents/disclogsList.php +++ b/documents/disclogsList.php @@ -35,18 +35,18 @@ echo '<br><small>(<a href="viewDocument.php?hash=' . md5($row->value->FOIDocumentsURL) . '">' . 'view local copy</a>)</small>'; } else { - echo "<font color='red'>✘</font>"; + echo "<font color='red'><abbr title='No'>✘</abbr></font>"; } echo "</td>\n<td>"; if (isset($row->value->FOIDocumentsURL)) { if (file_exists("./scrapers/" . $row->id . '.py')) { - echo "<font color='green'>✔</font>"; + echo "<font color='green'><abbr title='Yes'>✔</abbr></font>"; $green++; } else if (file_exists("./scrapers/" . $row->id . '.txt')) { - echo "<font color='orange'><b>▬</b></font>"; + echo "<font color='orange'><abbr title='Work in progress'><b>▬</b></abbr></font>"; $orange++; } else { - echo "<font color='red'>✘</font>"; + echo "<font color='red'><abbr title='No'>✘</abbr></font>"; $red++; } } @@ -57,7 +57,8 @@ setteErrorHandler($e); } echo "</table>"; -echo $agencies." agencies ".(($disclogs/$agencies)*100)."% with disclosure logs, ".(($green/$disclogs)*100)."% with scrapers ".(($red/$disclogs)*100)."% without scrapers ".(($orange/$disclogs)*100)."% WIP scrapers "; +echo $agencies." agencies, ".round(($disclogs/$agencies)*100)."% with disclosure logs; " +.round(($green/$disclogs)*100)."% logs with scrapers ".round(($red/$disclogs)*100)."% logs without scrapers ".round(($orange/$disclogs)*100)."% logs Work-In-Progress scrapers "; include_footer_documents(); ?>