From 370eb1a638dfdab96ab03616d63438dfacf93600 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 9 Jun 2002 21:36:06 +0000 Subject: [PATCH] change in the params of the extension-interface --- etemplate/inc/class.date_widget.inc.php | 4 ++-- etemplate/inc/class.datefield_widget.inc.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/etemplate/inc/class.date_widget.inc.php b/etemplate/inc/class.date_widget.inc.php index afa5c8e886..9db1640860 100644 --- a/etemplate/inc/class.date_widget.inc.php +++ b/etemplate/inc/class.date_widget.inc.php @@ -43,7 +43,7 @@ return 0; } - function pre_process($cell,&$value) + function pre_process(&$cell,&$value,&$templ) { if ($cell['size'] != '') { @@ -73,7 +73,7 @@ return $this->$func($cell,$form_name,$value,$readonly); } - function post_process($cell,&$value) + function post_process(&$cell,&$value,&$templ) { if (!isset($value)) { diff --git a/etemplate/inc/class.datefield_widget.inc.php b/etemplate/inc/class.datefield_widget.inc.php index 83b4b93900..2cea366cf7 100644 --- a/etemplate/inc/class.datefield_widget.inc.php +++ b/etemplate/inc/class.datefield_widget.inc.php @@ -29,7 +29,7 @@ { } - function pre_process(&$cell,&$value) + function pre_process(&$cell,&$value,&$templ) { if ($cell['size'] != '') { @@ -67,7 +67,7 @@ return True; // extra Label is ok } - function post_process($cell,&$value) + function post_process(&$cell,&$value,&$templ) { if (!isset($value)) {