From ab1f90e8ea6e01a02895d4d66f5e6ad252418a39 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 25 Mar 2003 17:43:25 +0000 Subject: [PATCH] =?UTF-8?q?Nouvelle=20m=E9thode=20pour=20afficher=20plus?= =?UTF-8?q?=20simplement=20les=20formulaire=20de=20validation=20de=20comma?= =?UTF-8?q?nde?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index e4a8ad1dff8..51f56bd05f5 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -36,6 +36,28 @@ class Form { * * */ + Function form_confirm($page, $title, $question) + { + print '
'; + print ''; + print ''; + + print ''; + + print '\n"; + print ''; + print '
'.$title.'
'.$question.''; + $htmls = new Form($db); + + $this->selectyesno("confirm","no"); + + print "
'; + print "
\n"; + } + /* + * + * + */ Function select_tva($name='') { if (! strlen(trim($name)))