select box 나 redio button 에서 사용하기 위해 get_checked 함수 생성
This commit is contained in:
@ -1904,6 +1904,12 @@ function get_selected($field, $value)
|
||||
}
|
||||
|
||||
|
||||
function get_checked($field, $value)
|
||||
{
|
||||
return ($field==$value) ? ' checked="checked"' : '';
|
||||
}
|
||||
|
||||
|
||||
function is_mobile()
|
||||
{
|
||||
return preg_match('/'.G5_MOBILE_AGENT.'/i', $_SERVER['HTTP_USER_AGENT']);
|
||||
|
||||
Reference in New Issue
Block a user