mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
do NOT use jerryr as mobile template
This commit is contained in:
parent
fa69637b82
commit
ec34cbb070
@ -31,6 +31,30 @@ class jerryr_framework extends idots_framework
|
||||
parent::__construct($template);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if current user agent is supported
|
||||
*
|
||||
* Currently we do NOT support:
|
||||
* - iPhone, iPad, Android, SymbianOS due to iframe scrolling problems of Webkit
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public static function is_supported_user_agent()
|
||||
{
|
||||
if (html::$ua_mobile)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Display the string with html of the topmenu if its enabled
|
||||
*
|
||||
* @param array $vars
|
||||
* @param array $apps
|
||||
* @return string
|
||||
*/
|
||||
function topmenu(array $vars,array $apps)
|
||||
{
|
||||
$this->tplsav2->menuitems = array();
|
||||
|
Loading…
Reference in New Issue
Block a user