phpBB

Code Changes

File: adm/style/simple_header.html

  Unmodified   Added   Modified   Removed
Line 39Line 39
{
var page = prompt(jump_page, on_page);


{
var page = prompt(jump_page, on_page);


	if (page !== null && !isNaN(page) && page > 0)	







	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
{
if (base_url.indexOf('?') == -1)
{
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
}
else

	{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);

	{
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);

 
		}

	}
}


	}
}