1
1
Fork 0

Keeping an offset for page switching: This helps so that you don't see old messages

This commit is contained in:
Michael Vogel 2013-12-10 00:13:19 +01:00
commit 7e5c8ab91c
3 changed files with 41 additions and 16 deletions

View file

@ -473,6 +473,10 @@ if ($_GET["mode"] == "raw") {
if (($param != "page") AND ($param != "q"))
$reload_uri .= "&".$param."=".urlencode($value);
if (($a->page_offset != "") AND !strstr($reload_uri, "&offset="))
$reload_uri .= "&offset=".urlencode($a->page_offset);
$a->page['htmlhead'] .= <<< EOT
<script type="text/javascript">