From 4c4a2d9c074be2b16b8302a6c08a4d35d34346a4 Mon Sep 17 00:00:00 2001 From: whitedot Date: Thu, 31 Jan 2013 18:21:30 +0900 Subject: [PATCH] =?UTF-8?q?=ED=99=88=ED=8E=98=EC=9D=B4=EC=A7=80=20?= =?UTF-8?q?=EC=A0=9C=EB=AA=A9=20=ED=91=9C=EC=8B=9C=EB=B0=A9=EB=B2=95=20?= =?UTF-8?q?=EB=B3=B4=EC=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- head.sub.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/head.sub.php b/head.sub.php index b75f0e973..f26b0ebc5 100644 --- a/head.sub.php +++ b/head.sub.php @@ -4,10 +4,13 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 $begin_time = get_microtime(); -if (!isset($g4['title'])) // 페이지 제목이 없으면 환경설정의 홈페이지 제목 출력 +$g4_head_title = $g4['title']; // 상태바에 표시될 제목 +if (!isset($g4['title'])) { $g4['title'] = $config['cf_title']; -else // 페이지 제목이 있으면 페이지 제목에 환경설정의 홈페이지 제목을 더해서 출력 - $g4['title'] .= " : ".$config['cf_title']; + $g4_head_title = $g4['title']; +} +else + $g4_head_title .= " : ".$config['cf_title']; // 현재 접속자 //$lo_location = get_text($g4[title]); @@ -37,7 +40,7 @@ else $g4_css = "default"; -<?=$g4['title']?> +<?=$g4_head_title?> ">