mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-19 06:23:12 +01:00
28 lines
641 B
PHP
28 lines
641 B
PHP
|
<?php
|
||
|
|
||
|
class uiaction_base
|
||
|
{
|
||
|
function load_header()
|
||
|
{
|
||
|
unset($GLOBALS['phpgw_info']['flags']['noheader']);
|
||
|
unset($GLOBALS['phpgw_info']['flags']['nonavbar']);
|
||
|
unset($GLOBALS['phpgw_info']['flags']['noappheader']);
|
||
|
unset($GLOBALS['phpgw_info']['flags']['noappfooter']);
|
||
|
//$GLOBALS['phpgw']->common->phpgw_header();
|
||
|
}
|
||
|
|
||
|
function action_link($action)
|
||
|
{
|
||
|
return $GLOBALS['phpgw']->link('/index.php',
|
||
|
Array(
|
||
|
'menuaction' => $this->bo->appname.'.ui'.$this->bo->appname.'.action',
|
||
|
'path' => urlencode($this->bo->path),
|
||
|
'uiaction' => urlencode($action)
|
||
|
)
|
||
|
);
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
?>
|