From 020da451b299a8784018e0ae9d798e3fbca8b43e Mon Sep 17 00:00:00 2001 From: Repellent Date: Wed, 31 Dec 2025 12:04:01 +0500 Subject: [PATCH] =?UTF-8?q?=D1=87=D0=B8=D0=BD=D0=B8=D0=BC=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=B3=D0=B8=D0=BD=D0=B0=D1=86=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- class/comment.php | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/class/comment.php b/class/comment.php index 6bfb915..97056c4 100644 --- a/class/comment.php +++ b/class/comment.php @@ -276,15 +276,25 @@ function commentListShow($tpl_dir) LIMIT " . (int)$start . "," . (int)$limit . " "); - if ($num > $limit) + if ($num > $limit) { - $page_nav = '{t} '; - $page_nav = get_pagination(ceil($num / $limit), 'page', $page_nav, get_settings('navi_box')); - $page_nav = preg_replace('/(? ceil($num / $limit) ? $GLOBALS['page_id'][$document_id]['page'] : ceil($num / $limit)); } else {