mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 18:50:25 +02:00
Pagination update
git-svn-id: file:///svn/phpbb/trunk@1330 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
e25d8550f8
commit
19ad656990
@ -1056,11 +1056,8 @@ else if( $query_keywords != "" || $query_author != "" || $search_id )
|
||||
|
||||
$template->assign_vars(array(
|
||||
"PAGINATION" => generate_pagination($base_url, $total_match_count, $per_page, $start),
|
||||
"ON_PAGE" => floor( $start / $per_page ) + 1,
|
||||
"TOTAL_PAGES" => ceil( $total_match_count / $per_page ),
|
||||
"PAGE_NUMBER" => sprintf($lang['Page_of'], ( floor( $start / $per_page ) + 1 ), ceil( $total_match_count / $per_page )),
|
||||
|
||||
"L_OF" => $lang['of'],
|
||||
"L_PAGE" => $lang['Page'],
|
||||
"L_GOTO_PAGE" => $lang['Goto_page'])
|
||||
);
|
||||
|
||||
|
@ -39,10 +39,8 @@
|
||||
</table>
|
||||
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
|
||||
<tr>
|
||||
<td align="left" valign="top"><span class="nav"> {L_PAGE} <b>{ON_PAGE}</b>
|
||||
{L_OF} <b>{TOTAL_PAGES}</b></span></td>
|
||||
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span><span class="gensmall"><br />
|
||||
{S_TIMEZONE}</span></td>
|
||||
<td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td>
|
||||
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellspacing="2" border="0" align="center">
|
||||
|
@ -43,10 +43,8 @@
|
||||
</table>
|
||||
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
|
||||
<tr>
|
||||
<td align="left" valign="top"><span class="nav"> {L_PAGE} <b>{ON_PAGE}</b>
|
||||
{L_OF} <b>{TOTAL_PAGES}</b></span></td>
|
||||
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span><span class="gensmall"><br />
|
||||
{S_TIMEZONE}</span></td>
|
||||
<td align="left" valign="top"><span class="nav">{PAGE_NUMBER}</span></td>
|
||||
<td align="right" valign="top" nowrap="nowrap"><span class="nav">{PAGINATION}</span><br /><span class="gensmall">{S_TIMEZONE}</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" cellspacing="2" border="0" align="center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user