diff --git a/config/func.inc.php b/config/func.inc.php index b5f804627..bd10cd029 100644 --- a/config/func.inc.php +++ b/config/func.inc.php @@ -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); + } + + } + ?> diff --git a/modules/widget/tpl/widget_generate_code.html b/modules/widget/tpl/widget_generate_code.html index f8dae44ce..97774f520 100644 --- a/modules/widget/tpl/widget_generate_code.html +++ b/modules/widget/tpl/widget_generate_code.html @@ -21,6 +21,7 @@ {$lang->widget} {$widget_info->title} ver {$widget_info->version} + {$lang->skin} @@ -40,6 +41,7 @@ + {$lang->widget_cache} @@ -72,7 +74,7 @@ -

{$var->description}

+

{nl2br($var->description)}

diff --git a/modules/widget/tpl/widget_generate_code_in_page.html b/modules/widget/tpl/widget_generate_code_in_page.html index 0ec4ef3a1..03920930f 100644 --- a/modules/widget/tpl/widget_generate_code_in_page.html +++ b/modules/widget/tpl/widget_generate_code_in_page.html @@ -23,6 +23,7 @@ {$lang->widget} {$widget_info->title} ver {$widget_info->version} + {$lang->skin} @@ -42,6 +43,7 @@ + {$lang->widget_cache} @@ -74,7 +76,7 @@ -

{$var->description}

+

{nl2br($var->description)}