From 22301d0cd4ac5f4b47911230a7b8f1b539670b19 Mon Sep 17 00:00:00 2001 From: hyukman Date: Thu, 28 May 2026 12:46:32 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EC=97=90=EC=84=9C=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EA=B0=80=20=EB=8B=A8=20=ED=95=9C=EA=B0=9C=EC=9D=BC=20?= =?UTF-8?q?=EB=95=8C=EB=9D=BC=EB=8F=84=20~'=ED=8E=98=EC=9D=B4=EC=A7=80'=20?= =?UTF-8?q?=EA=B0=80=20=EC=B6=9C=EB=A0=A5=EB=90=98=EB=8A=94=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=EC=9D=84=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/html/theme/FT_WEB20/head.sub.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/html/theme/FT_WEB20/head.sub.php b/web/html/theme/FT_WEB20/head.sub.php index d3edca6..622d3f2 100644 --- a/web/html/theme/FT_WEB20/head.sub.php +++ b/web/html/theme/FT_WEB20/head.sub.php @@ -4,6 +4,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 $g5_debug['php']['begin_time'] = $begin_time = get_microtime(); + // 게시판이고 page가 선언되지 않거나 0인 경우 '페이지' 문구 제거 +if (isset($bo_table)) { + global $page; + if (!$page || $page < 1) { + $g5['title'] = preg_replace('/\s*[0-9]*\s*페이지/u', '', $g5['title']); + } +} + if (!isset($g5['title'])) { $g5['title'] = $config['cf_title']; $g5_head_title = $g5['title'];