Permalink
Browse files

browse.tpl: Typo

  • Loading branch information...
1 parent ff17aaa commit 242e6583d3e75c83f2deaed263a32a85fee7e611 @mathiasbynens committed Jan 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 _tpl/browse.tpl
View
@@ -11,7 +11,7 @@ $result = $db->query('SELECT p1.id AS pID, p1.slug AS url, p1.revision, p1.title
if ($result && $result->num_rows > 0) {
$output = '<ul>';
while ($item = $result->fetch_object()) {
- $output .= '<li><a href="/' . $item->url . ($item->revision > 1 ? '/' . $item->revision : '') . '">' . addCode(he($item->title)) . '</a>: ' . ($item->testCount > 1 ? $item->testCount . ' tests' : '1 test') . ($item->revisionCount > 1 ? ', ' . $item->revisionCount . ' revisions' : '') . ' (last updated <time datetime="' . date('c', strtotime($item->updated)) . '">' . relativeDate($item->updated) . '</data>)';
+ $output .= '<li><a href="/' . $item->url . ($item->revision > 1 ? '/' . $item->revision : '') . '">' . addCode(he($item->title)) . '</a>: ' . ($item->testCount > 1 ? $item->testCount . ' tests' : '1 test') . ($item->revisionCount > 1 ? ', ' . $item->revisionCount . ' revisions' : '') . ' (last updated <time datetime="' . date('c', strtotime($item->updated)) . '">' . relativeDate($item->updated) . '</time>)';
}
$output .= '</ul>';
echo $output;

0 comments on commit 242e658

Please sign in to comment.