mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
added a 7th paramter to use in sitemgr modules
This commit is contained in:
parent
2dc68b1c8d
commit
0c7521cecf
@ -36,11 +36,11 @@ class sitemgr_module extends Module // the Module class get automatic included b
|
|||||||
* @param array $properties
|
* @param array $properties
|
||||||
* @return string the html content
|
* @return string the html content
|
||||||
*/
|
*/
|
||||||
function get_content(&$arguments,$properties)
|
function get_content(&$arguments,$properties)
|
||||||
{
|
{
|
||||||
list($app) = explode('.',$this->etemplate_method);
|
list($app) = explode('.',$this->etemplate_method);
|
||||||
$GLOBALS['egw']->translation->add_app($app);
|
$GLOBALS['egw']->translation->add_app($app);
|
||||||
|
|
||||||
$extra = "<style type=\"text/css\">\n<!--\n@import url(".$GLOBALS['egw_info']['server']['webserver_url'].
|
$extra = "<style type=\"text/css\">\n<!--\n@import url(".$GLOBALS['egw_info']['server']['webserver_url'].
|
||||||
"/etemplate/templates/default/app.css);\n";
|
"/etemplate/templates/default/app.css);\n";
|
||||||
|
|
||||||
@ -56,6 +56,6 @@ class sitemgr_module extends Module // the Module class get automatic included b
|
|||||||
{
|
{
|
||||||
$ret = ExecMethod('etemplate.etemplate.process_exec');
|
$ret = ExecMethod('etemplate.etemplate.process_exec');
|
||||||
}
|
}
|
||||||
return $extra.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3'],$arguments['arg4'],$arguments['arg5'],$arguments['arg6']));
|
return $extra.($ret ? $ret : ExecMethod2($this->etemplate_method,null,$arguments['arg1'],$arguments['arg2'],$arguments['arg3'],$arguments['arg4'],$arguments['arg5'],$arguments['arg6'],$arguments['arg7']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user