Merge branch 'g5'
This commit is contained in:
@ -1909,6 +1909,12 @@ function get_selected($field, $value)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function get_checked($field, $value)
|
||||||
|
{
|
||||||
|
return ($field==$value) ? ' checked="checked"' : '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function is_mobile()
|
function is_mobile()
|
||||||
{
|
{
|
||||||
return preg_match('/'.G5_MOBILE_AGENT.'/i', $_SERVER['HTTP_USER_AGENT']);
|
return preg_match('/'.G5_MOBILE_AGENT.'/i', $_SERVER['HTTP_USER_AGENT']);
|
||||||
|
|||||||
Reference in New Issue
Block a user