-
Notifications
You must be signed in to change notification settings - Fork 21
/
package2.xml
1438 lines (1346 loc) · 55.7 KB
/
package2.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.5.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>HTML_QuickForm</name>
<channel>pear.php.net</channel>
<summary>The PEAR::HTML_QuickForm package provides methods for creating, validating, processing HTML forms.</summary>
<description>
NOTICE: development of HTML_QuickForm version 3 is frozen. Please submit
feature requests for HTML_QuickForm2 package.
The HTML_QuickForm package provides methods to dynamically create, validate
and render HTML forms.
Features:
* More than 20 ready-to-use form elements.
* XHTML compliant generated code.
* Numerous mixable and extendable validation rules.
* Automatic server-side validation and filtering.
* On request javascript code generation for client-side validation.
* File uploads support.
* Total customization of form rendering.
* Support for external template engines (ITX, Sigma, Flexy, Smarty).
* Pluggable elements, rules and renderers extensions.
</description>
<lead>
<name>Bertrand Mansion</name>
<user>mansion</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Adam Daniel</name>
<user>adaniel</user>
<email>[email protected]</email>
<active>no</active>
</lead>
<lead>
<name>Alexey Borzov</name>
<user>avb</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<developer>
<name>Jason Rust</name>
<user>jrust</user>
<email>[email protected]</email>
<active>no</active>
</developer>
<developer>
<name>Thomas Schulz</name>
<user>ths</user>
<email>[email protected]</email>
<active>no</active>
</developer>
<developer>
<name>Ron McClain</name>
<user>mixtli</user>
<email>[email protected]</email>
<active>no</active>
</developer>
<date>2018-07-20</date>
<version>
<release>3.2.16</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* revert [] array syntax
</notes>
<contents>
<dir name="/" baseinstalldir="HTML">
<dir name="docs">
<dir name="renderers">
<dir name="templates">
<dir name="styles">
<file name="fancygroup.html" role="doc" />
<file name="green.html" role="doc" />
</dir> <!-- /docs/renderers/templates/styles -->
<file name="flexy-dynamic.html" role="doc" />
<file name="flexy-static.html" role="doc" />
<file name="html.html" role="doc" />
<file name="it-dynamic-2.html" role="doc" />
<file name="it-dynamic.html" role="doc" />
<file name="it-static.html" role="doc" />
<file name="label.html" role="doc" />
<file name="smarty-dynamic-fancygroup.tpl" role="doc" />
<file name="smarty-dynamic-green.tpl" role="doc" />
<file name="smarty-dynamic.tpl" role="doc" />
<file name="smarty-static.tpl" role="doc" />
</dir> <!-- /docs/renderers/templates -->
<file name="FlexyDynamic_example.php" role="doc" />
<file name="FlexyStatic_example.php" role="doc" />
<file name="ITDynamic_example.php" role="doc" />
<file name="ITDynamic_example2.php" role="doc" />
<file name="ITStatic_example.php" role="doc" />
<file name="multiple-labels.php" role="doc" />
<file name="QuickHtml_example.php" role="doc" />
<file name="SmartyDynamic_example.php" role="doc" />
<file name="SmartyStatic_example.php" role="doc" />
</dir> <!-- /docs/renderers -->
<file name="elements.php" role="doc" />
<file name="filters.php" role="doc" />
<file name="formrule.php" role="doc" />
<file name="groups.php" role="doc" />
<file name="rules-builtin.php" role="doc" />
<file name="rules-custom.php" role="doc" />
</dir> <!-- /docs -->
<dir name="QuickForm">
<dir name="Renderer">
<file name="Array.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ArraySmarty.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Default.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ITDynamic.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ITStatic.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Object.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ObjectFlexy.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="QuickHtml.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /QuickForm/Renderer -->
<dir name="Rule">
<file name="Callback.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Compare.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Email.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Range.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Regex.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Required.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /QuickForm/Rule -->
<file name="advcheckbox.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="autocomplete.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="button.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="checkbox.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="date.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="element.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="file.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="group.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="header.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="hidden.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="hiddenselect.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="hierselect.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="html.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="image.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="input.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="link.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="password.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="radio.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Renderer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="reset.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Rule.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RuleRegistry.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="select.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="static.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="submit.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="text.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="textarea.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="utils.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="xbutton.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /QuickForm -->
<file name="QuickForm.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
<package>
<name>HTML_Common</name>
<channel>pear.php.net</channel>
<min>1.2.1</min>
</package>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<date>2018-07-20</date>
<version>
<release>3.2.16</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* revert [] array syntax
</notes>
</release>
<release>
<date>2018-07-19</date>
<version>
<release>3.2.15</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* RSE exploit (reported by CiviCRM)
</notes>
</release>
<release>
<date>2014-11-20</date>
<version>
<release>3.2.14</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Fix E_STRICT "Declaration... should be compatible" (possible cause decoder crashes)
</notes>
</release>
<release>
<date>2011-10-01</date>
<version>
<release>3.2.13</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* maxYear in date element defaults to current year rather than 2010 (bug #18171)
* autocomplete element now works under FF4+ (bug #18530)
</notes>
</release>
<release>
<date>2010-10-17</date>
<version>
<release>3.2.12</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Added Serbian translation for date element (sent by Milos Tijanic)
* Added Greek translation for date element (sent by Pantelis Evgenidis)
* Got rid of deprecated split() function (thanks to Daniel O'Connor)
* Rewritten Javascript for hierselect element to not rely on "for in" loop
(bug #16603)
</notes>
</release>
<release>
<version>
<release>3.2.11</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2009-04-07</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* PHP-style Unicode escape codes in regular expressions are translated to
Javascript-style ones when using client-side validation (bug #12736)
* Rules for grouped elements were not removed when removing a group via
removeElement() method (bug #14540)
* Allow setting $collectHidden parameter in constructor of ArraySmarty
renderer, as allowed in constructor of Array renderer (bug #14995)
* Element name was not removed from $_required array in removeElement()
(bug #15520)
* Third and subsequent selects in hierselect could be not cleared under some
circumstances (bug #15955)
</notes>
</release>
<release>
<version>
<release>3.2.10</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-10-05</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* An error in date's setValue() method prevented setting the 'empty' value
as the default one (bug #11717)
* A space could be displayed instead of '0' for frozen elements with value
set to '0' (bug #11995)
* Validation rules on file uploads will be skipped only if no upload was
attempted, not if it failed for some reason (bug #12014)
* 'filename' rule returned integer instead of expected boolean (bug #12015)
* Regexps in Default renderer missed necessary 's' modifier (bug #12026)
</notes>
</release>
<release>
<version>
<release>3.2.9</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-05</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
This release fixes problems introduced in release 3.2.8:
* Fixes to bug #10837 and bug #11138 could prevent setting the values
of 'date' elements. Thanks to Massimiliano Arione for reporting.
* Fix to bug #10754 broke 'compare' rules with '!=' operators
(see bug #11229)
</notes>
</release>
<release>
<version>
<release>3.2.8</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2007-06-03</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Development of QuickForm version 3 is now frozen. Only bug fixing will be
done. All feature requests should be submitted for HTML_QuickForm2 package.
Changes:
* Moved to package.xml version 2
* Proper header comment blocks
Bugfixes:
* Possible segfault when using Default Renderer due to sub-optimal regexps
(bug #9977)
* Validation of elements containing numeric strings by 'compare' rule
could give wrong results (bug #10754)
* Regexp-based rules incorrectly allowed trailing newlines in values being
validated (bug #10799)
* Wrong options could be selected in <select> elements if numeric strings
were used as options' values (bug #10837, bug #11138)
* 'checked' attribute of checkbox was not cleared if adding checkbox to
a form submitted with this box unchecked (bug #11047)
</notes>
</release>
<release>
<version>
<release>3.2.7</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-10-10</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Development of QuickForm version 3 is now frozen. Only bug fixing will be
done. All feature requests should be submitted for HTML_QuickForm2 package.
Bugfixes:
* Radio button with value attribute of '0' was incorrectly set checked
after setDefaults() call (bug #8057)
* Fixed errors in eval()'d code when element's name contains single quotes
and/or backslashes (bug #8123, bug #8414 has a more realistic example)
* Fixed PHP warning on outputting hiddenselect element when its values
were never set (bug #8305)
* Removed unnecessary if-else from HTML_QuickForm_file::moveUploadedFile()
(bug #8329)
* Fixed Javascript error in hierselect element if option text was a number
(bug #8497)
</notes>
</release>
<release>
<version>
<release>3.2.6</release>
<api>3.2.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2006-06-22</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
Development of QuickForm version 3 is now frozen. Only bug fixing will be
done. All feature requests should be submitted for HTML_QuickForm2 package.
Bugfixes:
* Typo in javascript generated for form validation (bug #5205)
* Default values for single-selects were ignored if form was considered
submitted (bug #5269)
* Fixed array-based options for HTML_QuickForm_date (bug #5364)
* Javascript validation of single radiobutton failed (bug #5644)
* Incorrect fetch mode used in HTML_QuickForm_select::loadDbResult()
(bug #5705)
* Removed unused variables found by code analysis (bug #5920)
* hierselect now works correctly with HTML entities in option texts,
fix idea borrowed from Prototype JS library (bug #5974)
* advcheckbox failed to submit properly if its id attribute was set equal
to its name, due to javascript problems (bug #6134)
* HTML_QuickForm_hierselect::setValue() should not decrease the number of
select elements in hierselect (bug #6766)
* HTML_QuickForm::isTypeRegistered() is now case-insensitive (bug #7342)
* Form is considered not valid after explicitly adding error via
HTML_QuickForm::setElementError() (bug #7470)
* Regexps for 'error' and 'required' blocks in Default renderer now match
ungreedy, this allows having several such blocks in a template (bug #7820)
* Document the return value of HTML_QuickForm_file::moveUploadedFile()
(bug #7832)
Additions and changes:
* Traditional Chinese translation for date element (request #5165)
* Brazilian Portuguese translation for date element (request #5541)
* An error message for element is now removed if removing the element via
HTML_QuickForm::removeElement(..., true) or passing an empty argument to
HTML_QuickForm::setElementError().
* advcheckbox element no longer uses any javascript, therefore its JS-related
methods getOnclickJS() and getPrivateName() are no longer used internally
and are deprecated.
</notes>
</release>
<release>
<version>
<release>3.2.5</release>
<api>3.2.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2005-08-05</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
This release addresses poorly documented backwards compatibility breaks
in PHP versions 4.4 and 5.1 (see bugs #4725 and #4799).
* Changes to hierselect element
Javascript for hierselect element was (once again) completely rewritten,
which fixed a significant number of bugs.
- Fixed #2970 (hierselect did not handle form reset properly)
- Fixed #3176 (hierselect did not handle page reload properly)
- Fixed #3988 (javascript errors if element name contained brackets)
- Fixed #4432 (javascript errors if strings used as option values)
- Implemented #3367 (onchange attribute is not overwritten, but appended to)
* Changes to date element
- Added Romanian translation (request #2884)
- Added Hebrew translation (request #3366)
- Added Swedish translation (request #4821)
- Added Portuguese translation (request #4963)
- Removed extra copy of French translation
- Fixed typos in French (bug #3947) and Spanish (bug #4531) translations
- Implemented #3733 ('g' format support)
- Implemented #3379 ('W' format support)
- Implemented #3325 (display empty options on a per-field basis)
- Implemented #3575 (different empty option texts for different fields)
- Fixed #3049 (getElements() could return null)
- Fixed #4781 (toHtml() could return incorrect result)
* Form validation fixes
- Fixed #3865 (Required rule should consider field containing '0' valid)
- Fixed #3023 (a Fatal error was possible when having a compare rule after
a frozen element)
- Fixed #3501 (File elements should not be validated if not required and no
file uploaded)
- Fixed #2709 (radiobutton group not validated if no radiobutton selected)
- Fixed #3035 (error in javascript validation function in case of select
with size > 1)
- Fixed #3150 (incorrect check for select elements in javascript
validation function)
- Fixed broken javascript validation for groups with brackets in name
- Fixed #4470 (incorrect value for advcheckbox elements in javascript
validation)
- Fixed #4832 (Prevent javascript errors if form is frozen)
* Other additions and fixes
- Added HTML_QuickForm::isSubmitted() method
- Implemented #4930 (value of upload_max_filesize php.ini directive is
used as default value for MAX_FILE_SIZE form element)
- Fixed #2806 (Typo in rules-builtin.php example)
- Fixed #4219 (ArraySmarty renderer should only render required and error
template if the element has errors or is required, this gives significant
performance improvement).
- Fixed #2681 (Identical classes declared alongside Object and ObjectFlexy
renderers)
- Fixed #3511 (HTML_QuickForm_group::toHtml() ignored hidden elements)
- Use HTML_Common::_getAttrString() when generating hidden elements in
various places (bug #4463, invalid HTML generated by hiddenselect)
- Fixed #2726 (grouped elements failed to freeze if freeze() was called
before _createElements())
- Fixed #4645 (grouped elements having '0' as name handled incorrectly)
- Make getSubmitValue() more robust when dealing with groups having brackets
in names (see bug #2587)
- Fixed #4262 (Constructor for HTML_QuickForm ignored explicitly given
$target = '_self' argument)
- Fixed #4465 (Default values incorrectly used for select multiple elements
if all options were unselected)
- Fixed #3193 (frozen select elements could display incorrect value)
- Fixed #4611 (javascript for grouped autocomplete elements not output
properly)
</notes>
</release>
<release>
<version>
<release>3.2.4pl1</release>
<api>3.2.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-10-20</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- Fixed #2576: calling HTML_QuickForm::getSubmitValue() on a group
of radio elements caused an infinite loop with PHP eventually
dying of memory exhaustion. This was introduced in 3.2.4 in a
fix for bug #2517, those upgrading from earlier releases should
skip 3.2.4, those running 3.2.4 should upgrade ASAP.
- Fixed #2571: selects after the second were not correctly
populated in hierselect with 3 or more elements.
</notes>
</release>
<release>
<version>
<release>3.2.4</release>
<api>3.2.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-10-18</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Additions and changes
- Implemented HTML_QuickForm::insertElementBefore() method which
allows adding elements into arbitrary places and reordering the
existing form elements (thanks to Justin Patrin for initial
implementation and helpful comments, see request #1587)
- Implemented HTML_QuickForm_element::unfreeze() method
- HTML_QuickForm::removeElement() now returns reference to element
being removed
- Array renderer outputs header name into the resultant array
(request #2276)
- Added $staticLabels option to Array renderer's constructor, this
makes the renderer "flatten" the array of labels
- Added Ukrainian translation for 'date' element (Andrey Kornilov)
- Removed newline after <script> tags in 'autocomplete' and
'hierselect' elements (request #2373)
* Bugfixes
- HTML_QuickForm::getSubmitValue() now properly returns null for
groups if form was not yet submitted (bug #2517)
- stripslashes() is used only on 'name' element of file upload
data (bug #1843)
- HTML_QuickForm::addGroupRule() now works better with <select
multiple> elements (bug #1810)
- Fixed notice if empty string was passed to date::setValue()
(bug #2530)
- Calling HTML_QuickForm_group::getFrozenHtml() no longer freezes
the group (bug #1836)
- Groups now correctly handle setPersistantFreeze() call (bug #1836)
- ITDynamic renderer does not replace empty separator with &nbsp;
anymore (bug #2354)
- 'maxfilesize' rule returns false in case of file upload errors
(bug #2203)
- Fixed Javascript generation for 'hierselect' elements (bug #1984)
- Fixed examples using 'rangelength' rule (bug #2421)
</notes>
</release>
<release>
<version>
<release>3.2.3</release>
<api>3.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-06-28</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Additions and changes
- Implemented a new 'xbutton' element for HTML 4.0 <button> tag
(see also #1227)
- HTML_QuickForm::toArray() method accepts a boolean value that is
passed to the constructor of HTML_QuickForm_Renderer_Array (see #1392)
- ITDynamic renderer is now able to select a block for rendering based
on the element's name (see #1506)
- Default template of Default Renderer now allows XHTML-compliant output
of hidden elements (see #1124)
- Added Esperanto translation and French accents for date element
(Sebastien Montagne)
- Implemented #553: ITStatic renderer can use special blocks for required
elements and errors, if present in the template
- Implemented #1576: Enclose js code between //<![CDATA[ and //]]>
to make it xhtml compliant
* Bugfixes
- Fixed #1235 (setChecked() and setValue() did not work on advcheckbox)
- Fixed #1389 (Invalid comments in autocomplete element's Javascript)
- Fixed #1143 (Client validation should be turned off for frozen elements)
- Fixed #1252 (File upload names were not cleaned when magic_quotes_gpc = On)
- Fixed notices raised by hierselect element (reported by Herim Vasquez)
- Fixed #1248 (Errors in hierselect's Javascript when element's name
begins with a number)
- Fixed #1577 (hierselect's Javascript works with multiselects)
- Fixed #1516 (Default Renderer should use separators even when
setGroupTemplate() is used)
- Fixed #1694 (ITStatic renders hidden element with brackets correctly,
patch provided by milamamu)
</notes>
</release>
<release>
<version>
<release>3.2.2</release>
<api>3.2.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-03-22</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* On XHTML compliance:
As of 3.2.2 QuickForm does not rely on presence of 'name' attribute
in form tag (which is invalid in Strict XHTML), although it does
set this attribute. If you desire Strict XHTML compliance, you can
remove the attribute via removeAttribute() method.
* On Flexy renderers:
The Flexy renderers currently lack a maintainer. If one is not
found, they will be marked as unsupported and may later be removed
from the package. If you wish to look after these renderers, please
contact the package maintainers.
* Additions and changes
- Added arrayMerge() method to HTML_QuickForm, this behaves like
builtin array_merge_recursive() but does not renumber numeric
array keys. The new method is now used throughout the QuickForm
instead of array_merge_recursive()
- Added setDatasource() method
- Implemented #552 (ITStatic renderer can group hidden fields in
output)
- Added Estonian translation for date element (Ants Aasma)
- Added Turkish translation for date element (Suat Imam-Oglu)
- Added Norwegian translation for date element (Espen Carlsen)
- All non-ASCII symbols in date translations are now encoded as
HTML Unicode entities to prevent encoding problems
- Renamed labels-default.php example to multiple-labels.php
(suggested by Ignatius Reilly)
- Date element accepts non numeric default values compatible with
function strtotime() (Kellan Elliot-Mccrea)
- Added possibility to have more than just two selects in
the hierselect element (Herim Vasquez)
* Bugfixes
- Fixed #735 (applyFilter() failed for elements with "complex" names and
grouped elements)
- Fixed #872 (possible get_class()-related issues in PHP5)
- Fixed #925 (XHTML compliance, see the note)
- Fixed #741 (frozen elements lost 'id' attribute)
- Final fix for #202 (ArraySmarty renderer broke on elements with
brackets in names)
- Fixed #645 (ArraySmarty renderer had problems with anonymous elements)
- Fixed #734 (ArraySmarty renderer did not honour the change of Smarty
delimiters)
- Fixed #745 (wrong removal of group name from elements)
- Fixed #212 (ObjectFlexy renderer broke on elements with brackets in names)
- Fixed #1032 (ITStatic used wrong placeholders for groups with
$appendName = false)
- updateElementAttr() works correctly if passed an array of actual element
objects, also handles the case of multiple elements with the same name.
</notes>
</release>
<release>
<version>
<release>3.2.1</release>
<api>3.2.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2004-01-03</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Additions and changes
- The usage examples were significantly redone to better reflect current
package functionality.
- Added Armenian translation for date element (Vahe Khachikyan)
- Added Dutch translation for date element (Michiel Rook)
- validate() throws a PEAR error if rule added via addFormRule() returns junk
(see also bugs #243 and #338)
* Bugfixes
- Fixed bug #351 (incorrect values set for groups with weird names)
- Required elements in groups are once again marked correctly
- Fixed setValue() method of date element (thanks to Orya and Mike Carter,
see also bug #388)
- Fixed bug #403 (typo in Rule_Callback::getValidationScript())
- Fixed bug #356 (javascript generation for groups with $appendName = false)
- Fixed bug #328 (js values in hierselect not escaped properly)
- Fixed bug #302 (better support for RFC 2821 and RFC 2822 in Rule_Email)
- Fixed bug #253 (ArraySmarty renderer broken with radiobuttons)
- Partial fix for bug #202 (ArraySmarty renderer broke on elements with
brackets in names)
- Fixed bug #493 (non-existant method in setConstants())
- Fixed bug #209 (Flexy renderer broken with groups having '_' in names)
</notes>
</release>
<release>
<version>
<release>3.2</release>
<api>3.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-11-05</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Major changes in this release
Refactored form validation using Strategy/Factory/Singleton patterns. Rules are now
processed by subclasses of HTML_QuickForm_Rule class, HTML_QuickForm_RuleRegistry manages
registering the rules and instantiating the rule classes. Backwards compatibility was
completely preserved. (Bertrand Mansion)
- Added ability to set a rule on several elements. Added 'compare' rule that compares the
values of two form elements to take advantage of this. (Alexey Borzov)
- New 'callback' rule and an improved 'email' rule.
- Function-based rules can now be used without registering.
- Added 2 new examples for built-in and custom rules. (Alexey Borzov)
- Javascript validation opportunities were enhanced, validation of groups, radios, checkboxes,
selects now works correctly (see also PEAR bug #184) (Alexey Borzov, Hodicska Gergely)
* Other additions and changes
- Added 'autocomplete' element. (Matteo Di Giovinazzo)
- Added possibility to check whether form was actually submitted (see also bug #185). (Alexey Borzov)
- QuickForm now correctly handles 'file' elements with [] in name, 'file' elements inside groups. (Alexey Borzov)
- 'date' element will display year select in reverse order if 'minYear' > 'maxYear'. (Alexey Borzov)
- Added possibility to set increment value for some 'date' element selects. (Alexey Borzov)
- Added 'y' format to 'date' element. (Bertrand Mansion)
* Migration to 3.2
- Features that were marked deprecated in previous releases are REMOVED
- 'emailorblank' rule was REMOVED, use 'email' rule (see also PEAR bug #34)
* Bugfixes
- Fixed PEAR bug #140 (empty label tags for checkboxes and radios)
- Fixed PEAR bug #175 (error in 'date' element's German translation)
- Fixed PEAR bug #70 (Flexy renderer didn't handle multiple labels for element)
- Fixed PEAR bug #152 (JS function for 'hierselect' element not printed)
- ArraySmarty renderer correctly processes groups with '_' in names (Ian Duggan)
</notes>
</release>
<release>
<version>
<release>3.1.1</release>
<api>3.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-09-09</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* New additions
- Added Flexy renderer with examples (Ron McClain)
- Added QuickHtml renderer with example (Jason Rust)
- Added possibility to add customized empty options on top of date element selects (Jason Rust)
- Added Czech translation for date element (Tomas Zavodny)
* Bugfixes
- Fixed a bug in select element found by Pascal Thuet (Bertrand Mansion)
- Fixed setting hierselect's values, reported by Keith Edmunds (Bertrand Mansion)
- Fixed validate() not checking for presence of _formRules, reported by Justin Hendrickson (Alexey Borzov)
- Fixed javascript for advcheckbox element (Jason Rust)
Deprecated methods will be kept for 3.1.x releases, but will be removed in the next
major one. Please update your code!
</notes>
</release>
<release>
<version>
<release>3.1</release>
<api>3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-07-19</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* New additions
- Added a new hierselect element, a group of two selects where the first select changes the options of the second select using javascript (Bertrand Mansion)
- Added exportValue() and exportValues() methods, these should now be the preferred way to get form values (Alexey Borzov)
- Added addFormRule() method, this adds the rule that validates the whole form (Alexey Borzov)
- Added Italian date/dategroup names (Marco Piarulli)
- Added Slovak date/dategroup names (Peter Sablica)
- Added Icelandic date/dategroup names (Birgir Stefansson)
* Changes
- Rule-registering functions can now be called statically (Alexey Borzov)
- File-related rules and methods are moved to HTML_QuickForm_file (Alexey Borzov)
- Moved 'magic quotes' handling to QuickForm's constructor (Alexey Borzov)
- Use strtr() instead of rawurlencode() for javascript messages (Bertrand Mansion)
- Changed the nonzero rule to every numbers (negative or positive) except zero (David Sklar)
- Date element has been entirely reworked and optimised (Alexey Borzov)
- Updated the examples to use the latest changes (Alexey Borzov, Bertrand Mansion)
* Bugfixes
- Fixed a bug in HTML_QuickForm_group::getFrozenHtml() (Alexey Borzov, Wolfram Kriesing)
- Fixed a problem in HTML_QuickForm_group::getValue(): value was not changed to array (Alexey Borzov)
- Correctly set element's index in addElement() if some of the elements were previously removed (Alexey Borzov, Wolfram Kriesing)
- Fixed notice in _findElementValue() for files (Bertrand Mansion)
- Fixed passing a 'selected' attribute to addOption() (Alexey Borzov, Wolfram Kriesing)
* Deprecated
- setFormat(), setMinYear() and other accessors in date element are now deprecated. Set options and attributes in the constructor instead (Alexey Borzov)
- Method getAttributesString() is deprecated (Alexey Borzov)
- HTML_QuickForm's isUploadedFile(), moveUploadedFile(), getUploadeFile() are now deprecated (Alexey Borzov)
Deprecated methods will be removed from QuickForm in the next release.
In this release, they throw PEAR errors but still finish the job.
Use this to catch them with an error handler function, the global error code is QUICKFORM_DEPRECATED.
</notes>
</release>
<release>
<version>
<release>3.0</release>
<api>3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2003-06-04</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Fixes
- do not use submit values for 'submit' elements also (reported by Thomas Schulz, Mike Carter)
- assorted small fixes to HTML_QuickForm's methods and PHPDoc documentation
- HTML_QuickForm::apiVersion() returns 3.0 now
</notes>
</release>
<release>
<version>
<release>3.0RC1</release>
<api>3.0RC1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2003-05-28</date>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
* Bugfixes
- setMaxfileSize() does not throw pear error anymore (Alexey Borzov)
- onQuickFormEvent 'updateValue' fixes, elements that cannot actually have a submit value do not try to use one (Alexey Borzov)
- _loadElement() now returns a reference (Alexey Borzov)
- Several fixes to usage examples (Alexey Borzov, Thomas Schulz, Joerg Bruckmann)