From b81315af451c1ddfc28608bd646275372e5bc02a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 29 Sep 2002 22:24:33 +0000 Subject: [PATCH] added checks if the several functions in an extension are implemented --- etemplate/inc/class.uietemplate.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 0b2d65cf6b..dc46fc5e9d 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -369,7 +369,7 @@ } $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']; $extra_label = $this->extensionPreProcess($cell,$value,$readonlys[$name]); @@ -590,7 +590,7 @@ "enctype=\"multipart/form-data\" onSubmit=\"set_element2(this,'$path','$form_name')\""; break; default: - if ($this->haveExtension($cell['type'])) + if ($this->haveExtension($cell['type'],'render')) { $html .= $this->extensionRender($cell,$form_name,$value,$readonly); }