diff --git a/bbs/view_image.php b/bbs/view_image.php index 65917d68f..f0f8e12db 100644 --- a/bbs/view_image.php +++ b/bbs/view_image.php @@ -18,7 +18,7 @@ if(is_file($filepath)) { $height = $size[1]; $fileurl = G4_DATA_URL.'/file/'.$bo_table.'/'.$filename; - $img = ''; + $img = ''; } else { alert_close('파일이 존재하지 않습니다.'); } diff --git a/css/default.css b/css/default.css index 020dc895f..83aba8789 100644 --- a/css/default.css +++ b/css/default.css @@ -305,7 +305,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#334356;color:#f #poll header {position:relative;padding:25px 14px 0} #poll h2 {position:absolute;top:0px;right:14px;margin:0;padding:0 5px;height:25px;background:#76a5a8;color:#fff;font-weight:bold;line-height:2.2em} #poll header .btn_admin {margin-top:5px;width:158px;text-align:center} -#poll header p {padding:5px 0 10px} +#poll header p {padding:5px 0 0} #poll ul {margin:0 0 10px;padding:5px 14px;list-style:none} #poll li {padding:3px 0} #poll footer {padding:0 14px 14px} diff --git a/head.php b/head.php index 3dbbb74d0..3a2cb37b0 100644 --- a/head.php +++ b/head.php @@ -108,6 +108,23 @@ include_once(G4_LIB_PATH.'/popular.lib.php'); + +
  • + 색상대비 +
  • diff --git a/head.sub.php b/head.sub.php index 0af5df384..9e941949a 100644 --- a/head.sub.php +++ b/head.sub.php @@ -28,6 +28,14 @@ header("Expires: 0"); // rfc2616 - Section 14.21 header("Pragma: no-cache"); // HTTP/1.0 */ +// 색상대비 +if($_GET['contrast'] == 'on') { + set_session('ss_contrast_use', 'on'); +} else if($_GET['contrast'] == 'off') { + set_session('ss_contrast_use', 'off'); +} +$contrast_use = get_session('ss_contrast_use'); + $g4_css = ""; if (G4_IS_MOBILE) $g4_css = "mobile"; else $g4_css = "default"; @@ -40,9 +48,15 @@ else $g4_css = "default"; <?=$g4_head_title?> -"> +"> + +"> + "> + +"> +