egroupware/filemanager/inc/class.uiaction_base.inc.php
sim 89cdd1b207 A fairly large set of changes (committed all at once to reduce "broken" time):
(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)
2003-03-04 00:04:06 +00:00

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)
)
);
}
}
?>