geony

Сократить навигацию по сайту

1 post in this topic

32.jpg

 

\engine\modules\show.short.php
заменить

if( $enpages_count <= 10 ) {

на

if( $enpages_count <= 5 ) {

заменить

$end = 10;

на

$end = 5;

заменить

if( $cstart > 6 ) {

на

if( $cstart > 3 ) {

заменить

$start = $cstart - 4;
$end = $start + 8;

на

$start = $cstart - 2;
$end = $start + 4;

заменить

$start = $enpages_count - 9;

на

$start = $enpages_count - 5;

 

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now