default.css 의 밑으로 스킨의 stylesheet 를 적용한다.

This commit is contained in:
gnuboard
2013-04-29 15:15:26 +09:00
parent 2f60a3860d
commit 8a60fca1c0

View File

@ -1967,7 +1967,12 @@ function html_end()
$stylesheet .= $link;
$buffer = preg_replace('#'.$link.'#', '', $buffer);
}
return preg_replace('#(</title>)#', "$1$stylesheet", $buffer);
/*
</title>
<link rel="stylesheet" href="default.css">
밑으로 스킨의 스타일시트가 위치하도록 하게 한다.
*/
return preg_replace('#(</title>[^<]*<link[^>]+>)#', "$1$stylesheet", $buffer);
}
@ -1977,4 +1982,11 @@ function hyphen_hp_number($hp)
$hp = preg_replace("/[^0-9]/", "", $hp);
return preg_replace("/([0-9]{3})([0-9]{3,4})([0-9]{4})$/", "\\1-\\2-\\3", $hp);
}
// 휴대폰 본인확인을 받은 회원인지를 가린다.
function hp_certify($member)
{
return substr($member['mb_hp_certify'],0,1) == '0' ? 'N' : 'Y';
}
?>