홈페이지 제목 표시방법

This commit is contained in:
whitedot
2013-01-31 17:54:26 +09:00
parent ff8aae2cb0
commit d162506c8e
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
/* 초기화 */
html {overflow-y:scroll}
body {margin:0;padding:0;background:#f7f7f2;font-size:0.75em;font-family:"dotum"}
body {margin:0;padding:0 0 3px;background:#f7f7f2;font-size:0.75em;font-family:"dotum"}
html, body, h1, h2, h3, h4, h5, h6, form, fieldset, img {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em;font-family:"dotum"}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}

View File

@ -4,8 +4,10 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$begin_time = get_microtime();
if (!isset($g4['title']))
if (!isset($g4['title'])) // 페이지 제목이 없으면 환경설정의 홈페이지 제목 출력
$g4['title'] = $config['cf_title'];
else // 페이지 제목이 있으면 페이지 제목에 환경설정의 홈페이지 제목을 더해서 출력
$g4['title'] .= " : ".$config['cf_title'];
// 현재 접속자
//$lo_location = get_text($g4[title]);