홈페이지 제목 표시방법 보완

This commit is contained in:
whitedot
2013-01-31 18:21:30 +09:00
parent e2f226a1e1
commit 4c4a2d9c07

View File

@ -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";
<meta charset="utf-8">
<? if (G4_IS_MOBILE) {?><meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width"><? } ?>
<!-- <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> -->
<title><?=$g4['title']?></title>
<title><?=$g4_head_title?></title>
<? if (isset($administrator)) { ?>
<link rel="stylesheet" href="<?=G4_CSS_URL?>/adm.css?=<?=date("md")?>">
<? } else { ?>