aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-01-08 22:27:16 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-01-08 22:27:16 +0000
commit6af4750b4c932a1dbf2abdd7937afb1e1f432047 (patch)
tree672c745fec7de0fe107f9f6f00f4837e465ecb64 /phpBB/includes/functions.php
parent763d264d5f16dca3f842b633ff972e4805dc1bcb (diff)
downloadforums-6af4750b4c932a1dbf2abdd7937afb1e1f432047.tar
forums-6af4750b4c932a1dbf2abdd7937afb1e1f432047.tar.gz
forums-6af4750b4c932a1dbf2abdd7937afb1e1f432047.tar.bz2
forums-6af4750b4c932a1dbf2abdd7937afb1e1f432047.tar.xz
forums-6af4750b4c932a1dbf2abdd7937afb1e1f432047.zip
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
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php8
1 files 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) ? '<b>1</b>' : '<a href="' . $base_url . "&amp;start=" . (($on_page - 2) * $per_page) . '">' . $user->lang['Previous'] . '</a>&nbsp;&nbsp;<a href="' . $base_url . '">1</a>';
+ $page_string = ($on_page == 1) ? '<b>1</b>' : '<a href="' . $base_url . "&amp;start=" . (($on_page - 2) * $per_page) . '">' . $user->lang['PREVIOUS'] . '</a>&nbsp;&nbsp;<a href="' . $base_url . '">1</a>';
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) ? '<b>' . $total_pages . '</b>' : '<a href="' . $base_url . '&amp;start=' . (($total_pages - 1) * $per_page) . '">' . $total_pages . '</a>&nbsp;&nbsp;<a href="' . $base_url . "&amp;start=" . ($on_page * $per_page) . '">' . $user->lang['Next'] . '</a>';
+ $page_string .= ($on_page == $total_pages) ? '<b>' . $total_pages . '</b>' : '<a href="' . $base_url . '&amp;start=' . (($total_pages - 1) * $per_page) . '">' . $total_pages . '</a>&nbsp;&nbsp;<a href="' . $base_url . "&amp;start=" . ($on_page * $per_page) . '">' . $user->lang['NEXT'] . '</a>';
- $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