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

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);
}
}
?>

View file

@ -21,6 +21,7 @@
<th scope="row">{$lang->widget}</th>
<td>{$widget_info->title} ver {$widget_info->version}</td>
</tr>
<!--@if(count($skin_list))-->
<tr>
<th scope="row">{$lang->skin}</th>
<td>
@ -40,6 +41,7 @@
</div>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row">{$lang->widget_cache}</th>
<td>
@ -72,7 +74,7 @@
</div>
<!--@end-->
<!--@end-->
<p class="clear">{$var->description}</p>
<p class="clear">{nl2br($var->description)}</p>
</td>
</tr>
<!--@end-->

View file

@ -23,6 +23,7 @@
<th scope="row">{$lang->widget}</th>
<td>{$widget_info->title} ver {$widget_info->version}</td>
</tr>
<!--@if(count($skin_list))-->
<tr>
<th scope="row">{$lang->skin}</th>
<td>
@ -42,6 +43,7 @@
</div>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row">{$lang->widget_cache}</th>
<td>
@ -74,7 +76,7 @@
</div>
<!--@end-->
<!--@end-->
<p class="clear">{$var->description}</p>
<p class="clear">{nl2br($var->description)}</p>
</td>
</tr>
<!--@end-->