From 102e25c19a34784a3c3c61aba7248ede4206f294 Mon Sep 17 00:00:00 2001 From: tslocum Date: Mon, 29 Nov 2010 16:59:28 -0800 Subject: [PATCH] Use fancy plural function --- inc/html.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/inc/html.php b/inc/html.php index 2c3fe75..1fa8888 100644 --- a/inc/html.php +++ b/inc/html.php @@ -97,11 +97,7 @@ EOF; if ($post['parent'] == 0) { if (!$isrespage && $post["omitted"] > 0) { - $return .= '' . $post['omitted'] . ' post'; - if ($post["omitted"] != "1") { - $return .= "s"; - } - $return .= ' omitted. Click Reply to view.'; + $return .= '' . $post['omitted'] . ' ' . plural("post", $post["omitted"]) . ' omitted. Click Reply to view.'; } } else { $return .= <<