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');
} ?>
+ // 색상대비 on/off
+ $cr_path = g4_path();
+ if($contrast_use == 'on') {
+ $cr_uri = $cr_path['curr_url'].'?contrast=off';
+ } else {
+ $cr_uri = $cr_path['curr_url'].'?contrast=on';
+ }
+ if($_SERVER['QUERY_STRING']) {
+ $query_string = preg_replace("/contrast=(on|off)&?/", "", $_SERVER['QUERY_STRING']);
+ if($query_string)
+ $cr_uri .= '&'.$query_string;
+ }
+ unset($cr_path);
+ ?>
+