Merge branch 'g5'

This commit is contained in:
chicpro
2013-10-07 10:27:24 +09:00

View File

@ -1909,6 +1909,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']);