mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 12:34:33 +01:00
89cdd1b207
(1) Port to XSLT templates (2) Completes (apart from all the bugs :) the functionality of the three-teir phpgroupware style object system (no longer is filemanager a single 3000 line file!) (3) The beginings of a pluggable "uiaction" framework (ideally in the future this will be used for optional "rich text editors", or view filters etc)
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)
|
|
)
|
|
);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
?>
|