색상대비 on/off 텍스트 추가

This commit is contained in:
chicpro
2013-02-22 09:49:55 +09:00
parent 0a7e931fc4
commit b02202efe7

View File

@ -112,8 +112,10 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
$cr_path = g4_path();
if($contrast_use == 'on') {
$cr_uri = $cr_path['curr_url'].'?contrast=off';
$cr = "ON";
} else {
$cr_uri = $cr_path['curr_url'].'?contrast=on';
$cr = "OFF";
}
if($_SERVER['QUERY_STRING']) {
$query_string = preg_replace("/contrast=(on|off)&?/", "", $_SERVER['QUERY_STRING']);
@ -123,7 +125,7 @@ include_once(G4_LIB_PATH.'/popular.lib.php');
unset($cr_path);
?>
<li>
<a href="<?=$cr_uri;?>">색상대비</a>
<a href="<?=$cr_uri;?>">색상대비<?=$cr?></a>
</li>
</ul>