egroupware_official/phpgwapi/templates/jerryr/class.jerryr_framework.inc.php

69 lines
1.5 KiB
PHP
Raw Normal View History

<?php
/**
* eGW jerryr template
*
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de> rewrite in 12/2006
* @author Pim Snel <pim@lingewoud.nl> author of the idots template set
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package api
* @subpackage framework
* @access public
* @version $Id$
*/
require_once(EGW_SERVER_ROOT.'/phpgwapi/templates/idots/class.idots_framework.inc.php');
/**
* eGW jerryr template
*/
class jerryr_framework extends idots_framework
{
/**
* Constructor, calls the contstructor of the extended class
*
* @param string $template='jerryr'
* @return jerryr_framework
*/
function jerryr_framework($template='jerryr')
{
$this->idots_framework($template);
}
2012-07-24 09:06:22 +02:00
/**
* 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)
2007-01-13 05:15:30 +01:00
{
$this->tplsav2->menuitems = array();
$this->tplsav2->menuinfoitems = array();
2007-01-13 05:15:30 +01:00
2012-11-27 16:51:08 +01:00
parent::topmenu($vars,$apps);
2007-01-13 05:15:30 +01:00
$this->tplsav2->assign('info_icons',$this->topmenu_icon_arr);
2007-01-13 05:15:30 +01:00
2012-11-27 16:51:08 +01:00
return $this->tplsav2->fetch('topmenu.tpl.php');
}
}