From 6af4750b4c932a1dbf2abdd7937afb1e1f432047 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Wed, 8 Jan 2003 22:27:16 +0000 Subject: [PATCH] This is red, now why is it red ... probably because it's not green ... so let's make it green and hope it wasn't red for some specific reason git-svn-id: file:///svn/phpbb/trunk@3287 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 8e80b1de8d..ec8301ae88 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -593,7 +593,7 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add $on_page = floor($start_item / $per_page) + 1; - $page_string = ($on_page == 1) ? '1' : '' . $user->lang['Previous'] . '  1'; + $page_string = ($on_page == 1) ? '1' : '' . $user->lang['PREVIOUS'] . '  1'; if ($total_pages > 5) { @@ -627,9 +627,9 @@ function generate_pagination($base_url, $num_items, $per_page, $start_item, $add } } - $page_string .= ($on_page == $total_pages) ? '' . $total_pages . '' : '' . $total_pages . '  ' . $user->lang['Next'] . ''; + $page_string .= ($on_page == $total_pages) ? '' . $total_pages . '' : '' . $total_pages . '  ' . $user->lang['NEXT'] . ''; - $page_string = $user->lang['Goto_page'] . ' ' . $page_string; + $page_string = $user->lang['GOTO_PAGE'] . ' ' . $page_string; return $page_string; } @@ -638,7 +638,7 @@ function on_page($num_items, $per_page, $start) { global $user; - return sprintf($user->lang['Page_of'], floor($start / $per_page) + 1, max(ceil($num_items / $per_page), 1)); + return sprintf($user->lang['PAGE_OF'], floor($start / $per_page) + 1, max(ceil($num_items / $per_page), 1)); } // Obtain list of naughty words and build preg style replacement arrays for use by the