From a17ed39bc1f16d638f1d391f60d9b44b94f9f373 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 Aug 2010 19:00:57 +0000 Subject: [PATCH] Replace PWC with jQuery --- htdocs/core/class/html.form.class.php | 37 ++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 17b351a8a3d..c233eaab416 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1770,9 +1770,40 @@ class Form { $pageyes=$page.'&action='.$action.'&confirm=yes'; $pageno=($useajax == 2?$page.'&confirm=no':''); - // Note: Title is not used by dialogConfirm function - print ''; - // print ''; + + // Old code using PWC + Prototype + //print ''; + //print ''; + + // New code using jQuery only + print '
'; + print img_help('','').' '.$more.$question; + print '
'."\n"; + print ''; print "\n"; $ret='ajax';