mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
jumpto fixes for Mozilla
git-svn-id: file:///svn/phpbb/trunk@4623 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
{META}
|
{META}
|
||||||
<title>{SITENAME} :: {PAGE_TITLE}</title>
|
<title>{SITENAME} :: {PAGE_TITLE}</title>
|
||||||
<!-- IF T_STYLESHEET_LINK -->
|
<!-- IF T_STYLESHEET_LINK -->
|
||||||
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css">
|
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" name="{T_STYLESHEET_NAME}" type="text/css">
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
<!--
|
<!--
|
||||||
@@ -34,10 +34,11 @@ function jumpto()
|
|||||||
{
|
{
|
||||||
var page = prompt('{L_JUMP_PAGE}:', '{ON_PAGE}');
|
var page = prompt('{L_JUMP_PAGE}:', '{ON_PAGE}');
|
||||||
var perpage = '{PER_PAGE}';
|
var perpage = '{PER_PAGE}';
|
||||||
|
var base_url = '{BASE_URL}';
|
||||||
|
|
||||||
if (page !== null && !isNaN(page) && page > 0)
|
if (page !== null && !isNaN(page) && page > 0)
|
||||||
{
|
{
|
||||||
document.location.href = "{BASE_URL}&start=" + ((page - 1) * perpage);
|
document.location.href = base_url.replace('&', '&') + '&start=' + ((page - 1) * perpage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//-->
|
//-->
|
||||||
|
Reference in New Issue
Block a user