위젯의 스킨이 없을 경우 스킨 목록을 고르는 폼을 보이지 않도록 함

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2410 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-27 06:32:36 +00:00
parent b98bc25b69
commit dd804f33f0
3 changed files with 18 additions and 2 deletions

View file

@ -360,4 +360,16 @@
return $content;
}
// hexa값을 RGB로 변환
if(!function_exists('hexrgb')) {
function hexrgb($hexstr) {
$int = hexdec($hexstr);
return array("red" => 0xFF & ($int >> 0x10),
"green" => 0xFF & ($int >> 0x8),
"blue" => 0xFF & $int);
}
}
?>