|
|
Joined: Jan 2008
Posts: 222
enthusiast
|
enthusiast
Joined: Jan 2008
Posts: 222 |
Made an modification to the source, maybe usefull for other members:
Edit the /libs/ubbthreads.inc.php Find: if ($current_page > 1) { $printer = $current_page - 1; $page_html .= "<td class=\"alt-1\"><a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}{$url}$printer\"><</a></td>"; }
Replace with: if ($current_page > 1) { $printer = $current_page - 1; $page_html .= "<td class=\"alt-1\"><a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}{$url}$printer\">{$ubbt_lang['PREV_PAGE2']}</a></td>"; }
Find: if ($current_page < $total_pages) { $printer = $current_page + 1; $page_html .= "<td class=\"alt-1\"><a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}{$url}$printer\">></a></td>"; }
Replace with: if ($current_page < $total_pages) { $printer = $current_page + 1; $page_html .= "<td class=\"alt-1\"><a href=\"{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}{$url}$printer\">{$ubbt_lang['NEXT_PAGE2']}</a></td>"; }
Edit the /languages/english/postlist.php Add the following lines: $ubbt_lang['PREV_PAGE2'] = "Previous page"; $ubbt_lang['NEXT_PAGE2'] = "Next page";
Edit the /languages/english/generic.php Add the following lines: $ubbt_lang['PREV_PAGE2'] = "Previous page"; $ubbt_lang['NEXT_PAGE2'] = "Next page";
Do the same for other installed languages if there are. Now your First | < | 1 | 2 | 3 | 4 | 5 | > | Last will be replaced with First | Previous page | 1 | 2 | 3 | 4 | 5 | Next page | Last
Have fun all.
Last edited by Robje01; 02/01/2008 6:44 PM.
|
|
|
Entire Thread
|
1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
01/29/2008 12:48 AM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
01/30/2008 9:18 PM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
01/30/2008 10:36 PM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Gizmo
|
01/31/2008 12:13 AM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Gizmo
|
01/31/2008 12:18 AM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
01/31/2008 7:12 PM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Ian
|
01/31/2008 9:27 PM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
02/01/2008 9:59 PM
|
Re: 1, 2, 3, 4, 5 > Want to replace the > link w. button
|
Robje01
|
02/01/2008 10:39 PM
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
790
guests, and
230
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|