Squashed '3.0/themes/pear4gallery3/' changes from d38c2c2..993b36a
993b36a photo view with support for larger pages git-subtree-dir: 3.0/themes/pear4gallery3 git-subtree-split: 993b36a66747626b7088d4a9ca2632b399736dfd
This commit is contained in:
parent
008fe9c5e7
commit
81acfc1c2e
|
@ -5,7 +5,7 @@
|
||||||
if($child->url() == $_SERVER['REQUEST_URI']):
|
if($child->url() == $_SERVER['REQUEST_URI']):
|
||||||
$page_size = module::get_var("gallery","page_size"); ?>
|
$page_size = module::get_var("gallery","page_size"); ?>
|
||||||
<html><body>
|
<html><body>
|
||||||
<script type="text/javascript">window.location = '<?= end($parents)->url() . "?page=".(int)($i/$page_size)."#img=".$i % $page_size ."&viewMode=detail&redirected=true"?>';</script>
|
<script type="text/javascript">window.location = '<?= end($parents)->url() . "?page=".((int)($i/$page_size)+1)."#img=".$i % $page_size ."&viewMode=detail&redirected=true"?>';</script>
|
||||||
</body></html>
|
</body></html>
|
||||||
<? die(0) ?>
|
<? die(0) ?>
|
||||||
<? endif ?>
|
<? endif ?>
|
||||||
|
|
Reference in New Issue
Block a user