mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
added checks if the several functions in an extension are implemented
This commit is contained in:
parent
2dcb0ace3c
commit
b81315af45
@ -369,7 +369,7 @@
|
|||||||
}
|
}
|
||||||
$extra_label = True;
|
$extra_label = True;
|
||||||
|
|
||||||
if (!$this->types[$cell['type']] && $this->haveExtension($cell['type']))
|
if (!$this->types[$cell['type']] && $this->haveExtension($cell['type'],'pre_process'))
|
||||||
{
|
{
|
||||||
$type = $cell['type'];
|
$type = $cell['type'];
|
||||||
$extra_label = $this->extensionPreProcess($cell,$value,$readonlys[$name]);
|
$extra_label = $this->extensionPreProcess($cell,$value,$readonlys[$name]);
|
||||||
@ -590,7 +590,7 @@
|
|||||||
"enctype=\"multipart/form-data\" onSubmit=\"set_element2(this,'$path','$form_name')\"";
|
"enctype=\"multipart/form-data\" onSubmit=\"set_element2(this,'$path','$form_name')\"";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if ($this->haveExtension($cell['type']))
|
if ($this->haveExtension($cell['type'],'render'))
|
||||||
{
|
{
|
||||||
$html .= $this->extensionRender($cell,$form_name,$value,$readonly);
|
$html .= $this->extensionRender($cell,$form_name,$value,$readonly);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user