mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 01:24:05 +01:00
Improves the legibility of boards.php
This commit is contained in:
parent
9e009b987c
commit
d0c4db9f03
@ -95,7 +95,12 @@ foreach ($boards as $i => &$board) {
|
||||
$lock = '';
|
||||
}
|
||||
$board['ago'] = human_time_diff(strtotime($board['time']));
|
||||
$body .= "<tr><td>$img</td><td><a href='/{$board['uri']}/' title=\"{$board['title']}\">/{$board['uri']}/</a>$lock</td><td style='text-align:right'>{$board['pph']}</td><td style='text-align:right'>{$board['max']}</td><td>{$board['time']} ({$board['ago']} ago)</td></tr>";
|
||||
$body .= "<tr>";
|
||||
$body .= "<td>$img</td>";
|
||||
$body .= "<td><a href='/{$board['uri']}/' title=\"{$board['title']}\">/{$board['uri']}/</a>$lock</td>";
|
||||
$body .= "<td style='text-align:right'>{$board['pph']}</td>";
|
||||
$body .= "<td style='text-align:right'>{$board['max']}</td>";
|
||||
$body .= "<td>{$board['time']} ({$board['ago']} ago)</td></tr>";
|
||||
} else {
|
||||
unset($boards[$i]);
|
||||
$hidden_boards_total += 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user