1 |
jonen |
1.3 |
<?xml version="1.0" encoding="iso-8859-1"?>
|
2 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
4 |
|
|
<head>
|
5 |
|
|
<!-- template designed by Marco Von Ballmoos -->
|
6 |
|
|
<title></title>
|
7 |
|
|
<link rel="stylesheet" href="media/stylesheet.css" />
|
8 |
|
|
<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
|
9 |
|
|
</head>
|
10 |
|
|
<body>
|
11 |
|
|
<h1 align="center">CHANGELOG</h1>
|
12 |
|
|
<pre>
|
13 |
|
|
$Id: ric_CHANGELOG.html,v 1.19 2004/04/01 17:35:13 hemna Exp $ |
14 |
jonen |
1.2 |
|
15 |
|
|
++ Major change or new feature. |
16 |
|
|
+ fairly large change |
17 |
jonen |
1.1 |
- minor change |
18 |
|
|
|
19 |
jonen |
1.3 |
Version 2.4.1 - April 1, 2004 |
20 |
|
|
+ reworked the FormElement::get_element_text() method so that the |
21 |
|
|
child class can return whatever it wants. |
22 |
|
|
- Fixed an issue with the FEFile and not getting the value correctly |
23 |
|
|
when in confirmation and final mode. |
24 |
|
|
- Fixed an issue with trying to customize the FormElement required field |
25 |
|
|
marker. Jacek Rusin <jacek.rusin@kapsch.com.pl> |
26 |
|
|
- fixed a validation bug with FEFile. |
27 |
|
|
- fixed a bug with the FERadioGroup's href link on the text that caused the |
28 |
|
|
click to result in the browser going to the top of the page. |
29 |
|
|
- fixed a bug with the FormProcessor::_build_form_tag() not building the correct |
30 |
|
|
onsubmit. --walt |
31 |
|
|
- fixed a minor bug in the DefaultGuiDataList with the action arrow |
32 |
|
|
image paths. (UweBaumann at onlinehome.de) |
33 |
|
|
+ Created 2 new examples: example9.php and examples/form3.php |
34 |
|
|
+ Fixed a bug causing problems with PEAR+postgresql in the data list widget. |
35 |
|
|
--culley |
36 |
|
|
- Added align parameter to html_img_href() (Denny Reeh <denny.reeh at gmx.de>) |
37 |
|
|
- Fixed a bug with the displaying of the FormElement label when the FormElement |
38 |
|
|
had an error. |
39 |
|
|
++ Updated ArrayDataListSource to support searching of data. This removed the |
40 |
|
|
necessity of the ArrayDataListSource::set_prequery_filter_flag() method, as |
41 |
|
|
this is determined automatically depending on if a search was done or not. |
42 |
|
|
++ Added DataList::set_showall(), which automatically shows EVERY row back from the |
43 |
|
|
DataListSource. When this is set the DefaultGUIDataList will not show navigation. |
44 |
|
|
- Applied a minor cleanup patch to TextCSSNav from Erich Enke <twilit77 at fastmail.fm> |
45 |
|
|
+ Applied a patch to FEFile that adds the ability to set the acceptable file types |
46 |
|
|
and file size from culley at fastmail.fm |
47 |
|
|
- Fixed a small issue with the right boarder of the TextCSSNav's first element. |
48 |
|
|
++ Added FERegEx and FormValidation::is_regex() to support a generic Regular expression |
49 |
|
|
based FormElement from Culley Harrelson <culley at fastmail.fm> |
50 |
|
|
+ Added the ability to create a master-slave element relationship in FormElement. |
51 |
|
|
Added an element FEListBoxMaster that uses this relationship between two listboxes. |
52 |
|
|
- Fixed a copy & paste bug w/ TD::set_rowspan(). |
53 |
|
|
Thanks Alfonso Cepeda Caballos <cepeda@cartuja.us.es> |
54 |
|
|
++ Added the ability to the DefaultGUIDataList to save checked items in a |
55 |
|
|
checkbox action column between pages. |
56 |
|
|
|
57 |
|
|
Version 2.4.0 - Feb 3, 2004 |
58 |
|
|
+ Added Container::get_element() - to return the data element, so you can |
59 |
|
|
modify it post add(); |
60 |
|
|
+ Added align attribute parameter to html_img() - Denny Reeh <denny.reeh at gmx.de> |
61 |
|
|
+ Added the ability to set a secondary orderby list for the DataListSource. |
62 |
|
|
+ Added the support for the secondary orderby list in the SQLDataListSource |
63 |
|
|
- fixed broken css link in examples/widget9.php |
64 |
|
|
+ cleaned up the test directory, and started creating pear PHPUnit tests |
65 |
|
|
+ Added the ability to do a collapsing search title for the DefaultGuiDataList |
66 |
|
|
- Fixed a problem with the HR tag. It didn't have the correct flags set. |
67 |
|
|
(thanks to Mufasa from http://www.firetiger.net/) |
68 |
|
|
- added another fix to prevent warnings in XMLTagClass::_render_open_tag() |
69 |
|
|
(thanks to Mufasa from http://www.firetiger.net/) |
70 |
|
|
- added title parameter to html_area() - Denny Reeh <denny.reeh at gmx.de> |
71 |
|
|
- added a small fix to the HTMLPageClass::add() method when adding a |
72 |
|
|
widget that has a get_javascript() method. This prevents a possible warning. |
73 |
|
|
- fixed some tab selected bugs with ActiveTab |
74 |
|
|
- added TABLEtag::set_summary() to set the summary attribute for |
75 |
|
|
speech-synthesizing/non-visual browsers. |
76 |
|
|
- added dtd URL for the HTMLPageClass when in HTML 4 rendering mode. |
77 |
|
|
- added FEUnitedStates form element. |
78 |
|
|
- added FEZipcode Form element. |
79 |
|
|
- save the render type in the HTMLPageClass to solve potential issues. |
80 |
|
|
- changed API for html_optgroup() to include the label as the first param. |
81 |
|
|
- added support in form_select() to handle a 2 level deep multidimensional array |
82 |
|
|
for the $options param. This is usefull for optgroup support in the select tag. |
83 |
|
|
- fixed a bug with ArrayDataListSource. It wasn't limiting the number of rows |
84 |
|
|
to display. oops. |
85 |
|
|
- fixed some problems with html_frameset(). |
86 |
|
|
- added 3rd param to html_option to set it as selected or not. |
87 |
|
|
- fixed an issue w/ DataList defines for sortable/not sortable and |
88 |
|
|
case insensitive sortable (David Chatenay) |
89 |
|
|
- added FETextArea length validation and error reporting. |
90 |
|
|
- added InfoTable::set_show_cellborders() which sets the flag to show internal |
91 |
|
|
cell borders or not. |
92 |
|
|
+ Added ButtonPanel object. |
93 |
|
|
+ Added DialogWidget. |
94 |
|
|
+ Added StandardDialogWidget. |
95 |
|
|
+ Added MessageBoxWidget. |
96 |
|
|
++ Added the ability in the PageWidget to do page level permissions checks. |
97 |
|
|
This requires the InfoTable css definitions to be loaded in the browser window |
98 |
|
|
when a permissions error happens. |
99 |
|
|
+ Added FormElement::set_element_name() - allow you manually set the name of |
100 |
|
|
the form field. |
101 |
|
|
+ Added HTMLPageClass::set_favicon() to set the href and type and enable it. |
102 |
|
|
- DataList::build_column_item() fix: 0 (integer value) is replaced by a space |
103 |
|
|
(David Chatenay) |
104 |
|
|
+ Added the ability to disable specific items for the |
105 |
|
|
FEDataList, FEListBox, FEMultiListBox, FECheckBoxList form elements. |
106 |
|
|
+ Added FENestedListBox |
107 |
|
|
++ Added support in the FormProcessor and FormContent to automatically handle |
108 |
|
|
the special FEFile form element while managing a form that contains a |
109 |
|
|
confirmation page (StandardFormContent w/ confirmation enabled). |
110 |
|
|
- fixed an issue with the Copyright character in the FooterNav. (Ivan Gostev) |
111 |
|
|
- fixed some w3c validation errors with onClick in some widgets (Ivan Gostev) |
112 |
|
|
+ Added TDtag::set_colspan() and TDtag::set_rowspan() as helpers to |
113 |
|
|
set_tag_attribute() |
114 |
|
|
+ Added the new FEComboListBox form element. |
115 |
|
|
- fixed issue with ListAction old api calls. |
116 |
|
|
- Added a new sorting type for DataList - SORTABLE_NUMERIC, that handles sorting |
117 |
|
|
of numeric columns without using the natsort algorithm which is broken for negative |
118 |
|
|
numbers (suren) |
119 |
|
|
++ Added new TabWidget and TabList widgets for supporting Tabs and their data. |
120 |
|
|
- Fixed a potential case insensitive sorting issue w/ the SQLDataListSource |
121 |
|
|
+ Added the ability to change the default value for the flag that tells the |
122 |
|
|
SQLDataListSource to enable case insensitive sorting. |
123 |
|
|
+ Added FormElement::set_tabindex() to set the tab index. |
124 |
|
|
+ Added FormContent::set_form_tabindex, get_form_tabindex() as a helper to the |
125 |
|
|
FormElement::set_tabindex() method. |
126 |
|
|
- fixed an incorrectly spelled variable name in DataListSource (hanefeldj at ee.nec.de) |
127 |
|
|
- fixed a small js issue with the ActiveTab (mike_walsh at mentor.com |
128 |
|
|
|
129 |
jonen |
1.2 |
Version 2.3.0 - July 31, 2003 |
130 |
|
|
- pulled a small issue from FormProcessor. $this->_message never used. |
131 |
|
|
- changed FormProcessor::set_render_form_after_succes() to accept a flag, |
132 |
|
|
instead of just setting it to TRUE always. |
133 |
|
|
- Added some tests in the FormContent element access methods, to help |
134 |
|
|
developing a form. It traps for invalid FormElement labels. |
135 |
jonen |
1.3 |
+ Added FEFile FormElement from Dave Brondsema <dave at brondsema.net> |
136 |
jonen |
1.2 |
+ Started work on the FormWizard |
137 |
|
|
- cleanup of some warnings for the DataList widgets. |
138 |
|
|
- Fixed a problem with doing some queries in the PEARSQLDataListSource |
139 |
jonen |
1.3 |
- added HTMLPageClass::set_language() as a request from |
140 |
jonen |
1.2 |
Davide "Design" Muzzarelli. |
141 |
|
|
- fixed DefaultGUIDataList alignment blowing up. |
142 |
|
|
- small change to the TABLEtag::add_row method to be cleaner in how |
143 |
|
|
we check for TR or TD objects |
144 |
jonen |
1.3 |
+ Added the ability to check the status of the FormProcessor state |
145 |
jonen |
1.2 |
after the constructor processes the form. Now you can find out |
146 |
|
|
if the form was confirmed and action was processed successfully |
147 |
|
|
so you can do something besides show the form. |
148 |
|
|
- added the ability to find out what action was taken by the form |
149 |
jonen |
1.3 |
engine with FormProcessor::get_action() |
150 |
jonen |
1.2 |
+ Added the ability to automagically set a character limit in the |
151 |
|
|
FETextArea element |
152 |
jonen |
1.3 |
+ Added the ability to not automatically show the errors in the |
153 |
jonen |
1.2 |
FormProcessor. This allows you to show the errors somewhere else |
154 |
|
|
+ Added the ability to set the FormContent error table title and width |
155 |
|
|
to something besides the default. |
156 |
|
|
+ Added FormContent::get_error_array() and FormProcessor::get_error_array() |
157 |
|
|
|
158 |
|
|
++ Changed the parameter list to FETextArea(). the rows, cols attributes |
159 |
jonen |
1.3 |
for a textarea tag are required. |
160 |
jonen |
1.2 |
- changed htmlentities call in HTMLTagClass to htmlspecialchars so we don't |
161 |
|
|
nuke unicode/multibyte chars. |
162 |
|
|
++ Added FormContent::javascript() and FormElement::javascript() that |
163 |
|
|
automatically get called by the FormProcessor. This allows you to include |
164 |
jonen |
1.3 |
some raw javascript into a form or a form element, and it will automatically |
165 |
jonen |
1.2 |
get wraped in a script tag and added rendered with the form. |
166 |
|
|
- fixed a lame error in the exmaple7.php source. |
167 |
|
|
- fixed a few warnings in example8.php |
168 |
|
|
- define the HTML_RENDER_TYPE var in SVGDocumentClass so we don't get php warnings. |
169 |
|
|
+ Added the ability to filter rows out of the DataListSource object. |
170 |
|
|
just define DataListSource::row_filter() and return TRUE to allow the row or FALSE |
171 |
|
|
to drop the row. |
172 |
|
|
+ Added FEYesNoListBox, and added the ability to change the yes/no values |
173 |
|
|
for the FEYesNoRadioGroup |
174 |
|
|
- don't validate FormElements that are disabled. |
175 |
jonen |
1.3 |
|
176 |
jonen |
1.2 |
+ added the ability in the FormContent and FormElement to have more then 1 error |
177 |
|
|
+ added FEConfirmActionButton |
178 |
|
|
+ added FENumber to validate an int |
179 |
|
|
+ added FENumberInRage to validate an int in a range. |
180 |
|
|
+ added FEHostnameWithPort to show a hostname and a Port |
181 |
|
|
+ added FEIPAddressWithPort |
182 |
|
|
- fixed annoying problem with the form_active_checkbox,form_active_radio and |
183 |
jonen |
1.3 |
FECheckBoxList links causing mozilla to jump to the top of the page when clicked. |
184 |
jonen |
1.2 |
- removed some of the newlines from the generated output for HTMLPageClass. |
185 |
|
|
+ Added HTMLRedirectPage |
186 |
|
|
- cleaned up the use of a define for HTML_RENDER_TYPE. It's now a global var, |
187 |
|
|
so it can be changed on the fly. |
188 |
|
|
- fixed some small warnings in the examples |
189 |
|
|
(thanks Pierre) |
190 |
jonen |
1.3 |
- fixed some warnings in the DefaultGUIDataList object. |
191 |
jonen |
1.2 |
+ Added a DataList::do_action() method that allows you to do whatever |
192 |
|
|
prior to get_data_source() being called. You can pre-massage data in |
193 |
|
|
do_action(). By default, it does nothing. |
194 |
|
|
+ Added ArrayDataListSource class that pulls data out of an array |
195 |
|
|
+ Added XMLTagClass::set_cdata_flag() to toggle the CDATA wrapper flag |
196 |
jonen |
1.3 |
+ Added xml_ctag(), which is the same as xml_tag(), but sets the bit to |
197 |
jonen |
1.2 |
automatically wrap all tag content in the CDATA wrapper. |
198 |
jonen |
1.3 |
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
jonen |
1.2 |
|
203 |
|
|
Version 2.2.4 - April 3, 2003 |
204 |
|
|
- fixed a small documentation issue w/ the DataList::add_header_item() |
205 |
|
|
method. |
206 |
|
|
- pulled out missing development files in the form_elements/includes.inc |
207 |
|
|
D'oh. |
208 |
|
|
- fixed small warnings from HTMLTagClass |
209 |
|
|
|
210 |
|
|
Version 2.2.3 - April 2, 2003 |
211 |
|
|
- fixed a problem with the FormContent errors table width. |
212 |
|
|
- fixed an error in the form1 example. |
213 |
jonen |
1.3 |
- fixed an error with Form Confirmation pages with the |
214 |
jonen |
1.2 |
FECheckBox Form Element. |
215 |
|
|
- fixed a minor problem with the TABLEtag object, and adding |
216 |
|
|
a BaseWidget child class. It doesn't have a _tag member, so |
217 |
|
|
folks that have MAX errors on, got a warning. |
218 |
|
|
- Fixed a potential issue with XML attributes. There was a chance |
219 |
|
|
that an XML tag's attribute could be empty, which would build |
220 |
|
|
an invalid XML tag. DOCTYPE is now an HTMLTagClass child, because |
221 |
|
|
it needs attributes w/o values. |
222 |
|
|
- Changed FormProcessor to use "post" instead of "POST" so that we |
223 |
|
|
build valid XHTML |
224 |
|
|
- changed the FormElement rendering of onClick, onChange, etc. to use |
225 |
|
|
all lowercase, to build valid XHTML. |
226 |
|
|
- added HTMLPageClass::add_js_link() to replace push_js_link() |
227 |
jonen |
1.3 |
- small fix in the DefuaultGUIDataList::_checkbox_javascript() to |
228 |
|
|
be more flexible. Thanks Nils Droge <ndroege at haba-ag.de> |
229 |
jonen |
1.2 |
- made sure the DataList object's form name is set. |
230 |
|
|
- let the user set the DataList form method to post or POST. |
231 |
|
|
- Don't do indentation on a PREtag |
232 |
|
|
- Added FEDataList::set_list_data() method, to allow folks to set the |
233 |
|
|
list of items at any time. |
234 |
|
|
+ Some cleanup of the FormProcessor attributes, and added some |
235 |
|
|
easy access methods for setting/getting them. |
236 |
|
|
- fixed the FormContent::add_image_action() method. Can't use onclick |
237 |
|
|
with a input type="image". bogus. |
238 |
|
|
+ Added the ability to override the FormValidation and FormErrors classes |
239 |
|
|
used by the FormProcessor, so folks can get their errors and text from |
240 |
|
|
any method. This helps folks create their own i18n FormErrors class. |
241 |
|
|
|
242 |
|
|
Version 2.2.2 - March 10, 2003 |
243 |
jonen |
1.3 |
- Aris Basic <aris.basic at silencesoftware.com> added a new |
244 |
jonen |
1.2 |
PGSQLDataListSource object, to allow folks to use the |
245 |
jonen |
1.3 |
PHP built in PostgreSQL native functions for talking to |
246 |
|
|
a DB. This avoids the depenancy on PEAR or ADODB. |
247 |
|
|
- Added the xhtml_strict_attributes array to the FORMtag |
248 |
jonen |
1.2 |
declaration. the attributes 'name' and 'target' are not |
249 |
|
|
allowed while in XHTML STRICT mode |
250 |
jonen |
1.3 |
(thanks to Philipp Morger <morger at dolphins.ch> ) |
251 |
jonen |
1.2 |
- fixed a minor issue in the DataList object that Richard Greene |
252 |
|
|
found. |
253 |
|
|
- cleaned up the old 'test' scripts in test. |
254 |
|
|
- made a small fix to the ADODBSQLDataListSource::count() method when |
255 |
jonen |
1.3 |
handling a DB error. Thanks to Nils Droge <ndroege at haba-ag.de> |
256 |
jonen |
1.2 |
- fixed a problem of not being able to search fo '0' in the DataList |
257 |
jonen |
1.3 |
Thanks to Nils Droge <ndroege at haba-ag.de>. |
258 |
jonen |
1.2 |
- made a small change to the DefaultGUIDataList to make the search area |
259 |
jonen |
1.3 |
text be localizable. |
260 |
jonen |
1.2 |
- Added support to change the encoding type for XHTML pages in the |
261 |
|
|
HTMLPageClass::set_encoding() method. |
262 |
|
|
- fixed a PHP NOTICE error output in the XMLTagClass. |
263 |
|
|
- fixed a problem with XML tags that have no content. It now |
264 |
|
|
automatically drops the close tag. |
265 |
|
|
- fixed a problem with HTML tags with no content. it no longer |
266 |
|
|
renders a newline after the open tag. |
267 |
|
|
- fixed a the DOCTYPE tag attributes for XHTML mode. It now gives |
268 |
|
|
the full url path to the DTD's on the W3C site. |
269 |
jonen |
1.3 |
(thanks to Philipp Morger <morger at dolphins.ch> ) |
270 |
|
|
- fixed a small indenting problem with XMLTagClass::render_content() |
271 |
jonen |
1.2 |
- Moved the SVG, WML, XML widgets into their own dirs under widgets. |
272 |
jonen |
1.3 |
|
273 |
|
|
+ Added new SVG Graphing classes. You can now graph a line graph |
274 |
jonen |
1.2 |
with SVGXYLineGraph |
275 |
|
|
|
276 |
|
|
Version 2.2.1 - February 21, 2003 |
277 |
jonen |
1.3 |
- fixed problems with the simple search capability for the |
278 |
jonen |
1.2 |
DefaultGUIDataList object. |
279 |
|
|
- Fixed the count problem with the ADODBDataListSource object |
280 |
|
|
- fixed some api calls in the examples/widget8 for form_active_radio |
281 |
|
|
and form_active_checkbox |
282 |
|
|
* Thanks to Aris "PhanLord" Basic for the heads up on the bugs. |
283 |
jonen |
1.3 |
|
284 |
jonen |
1.2 |
|
285 |
|
|
Version 2.2.0 - February 20, 2003 |
286 |
jonen |
1.1 |
- added attributes array as the last parameter to form_select. |
287 |
jonen |
1.3 |
the attributes are for the select tag. |
288 |
jonen |
1.1 |
+ Added the new RoundTitleTable widget. It looks like the |
289 |
|
|
NavTable widget, but can contain anything. |
290 |
|
|
- fixed a minor issue with Container::reset_content() It used to |
291 |
|
|
accept new content to automagically add. This has been re-added. |
292 |
|
|
Thanks to Freddy from Germany. :) |
293 |
|
|
- fixed another duplicated method in SQLDataListSource. arg. |
294 |
|
|
+ Added the CSSContainer widget |
295 |
|
|
+ changed all of the themed css building scripts to use the |
296 |
jonen |
1.3 |
new CSSContainer widget. This is handy for site wide |
297 |
jonen |
1.1 |
themeing. |
298 |
|
|
- Fixed a minor php notice in XMLTagClass::prepare_flags() |
299 |
|
|
- Added the ability to set the overall alignment for the |
300 |
|
|
DefaultGUIDataList object with set_align() |
301 |
jonen |
1.3 |
- added some code to the ActiveTab to enable going to a |
302 |
jonen |
1.1 |
specific tab when coming from another page |
303 |
|
|
- Added the ability to preselect a specific tab in the ActiveTab |
304 |
jonen |
1.3 |
widget by passing the selected tab's name in the constructor |
305 |
jonen |
1.1 |
- fixed the count issue with the ADODBSQLDataListSource |
306 |
|
|
- Made the urls in the DataList object W3C happy. & -> &amp; |
307 |
|
|
- fixed potential content issues with InfoTable. Now you can |
308 |
|
|
call add_row() with a TR or TD tag. |
309 |
jonen |
1.3 |
|
310 |
jonen |
1.1 |
++ MAJOR cleanup of all class member variables in ContainerClass, |
311 |
|
|
XMLTagClass and HTMLTagClass. I nuked ALL of the flag variables |
312 |
|
|
and made them all into 1 bitmask. 13 variables -> 1. This should |
313 |
|
|
keep the memory footprint to a minimum. There should be NO |
314 |
|
|
compatibility issues. |
315 |
jonen |
1.3 |
|
316 |
jonen |
1.1 |
++ Added the new Form Processing classes, for easily building complex |
317 |
|
|
forms and automagic validation, as well as automagic confirmation. |
318 |
|
|
|
319 |
jonen |
1.2 |
Version 2.1.3 - November 25, 2002 |
320 |
jonen |
1.1 |
- fixed a duplicated method in ActiveTab. |
321 |
|
|
|
322 |
jonen |
1.2 |
Version 2.1.2 - November 23, 2002 |
323 |
jonen |
1.1 |
- fixed a problem with html_map(), it was returning a LEGENDtag. |
324 |
|
|
- added $width to ActiveTab::add_tab() so you can change the width |
325 |
|
|
of the tab for long titles. |
326 |
jonen |
1.3 |
- Fixed my mistake with the add/push_reference() methods. |
327 |
jonen |
1.1 |
According to the php spec, you have to declare the parameter |
328 |
jonen |
1.3 |
as a reference in the function declaration now, which is |
329 |
jonen |
1.1 |
counter-intuitive (for us C folks) |
330 |
|
|
- Fixed a problem with the XMLDocumentClass' add_reference() method. |
331 |
|
|
|
332 |
jonen |
1.2 |
Version 2.1.1 - November 12, 2002 |
333 |
jonen |
1.1 |
- Suren Fixed a bad bug in HTMLPageClass::add_head_content() |
334 |
jonen |
1.3 |
|
335 |
jonen |
1.1 |
|
336 |
jonen |
1.2 |
Version 2.1.0 - November 12, 2002 |
337 |
jonen |
1.1 |
- Added the ActiveTab widget |
338 |
|
|
- fixed a problem with the DefaultGUIDataList object comparing |
339 |
|
|
the old style tag name of TD. all tags are now lowercase |
340 |
|
|
- changed the use of id to class to prevent W3C validation errors |
341 |
|
|
when using a widget multiple times on a page. |
342 |
|
|
- added form_active_radio() and form_active_checkbox() |
343 |
|
|
+ Did some major code cleanup in the _render_tag_* functions |
344 |
|
|
between the XMLTagClass and the HTMLTagClass classes. Just had |
345 |
|
|
some legacy code living in the HTMLTagClass methods that was |
346 |
|
|
now living in the XMLTagClass methods |
347 |
|
|
- changed DOCTYPEtag to an XMLTag child |
348 |
jonen |
1.3 |
- cleaned up the constructor for the DOCTYPEtag and XMLtag |
349 |
jonen |
1.1 |
+ Did some minor tweaks here and there in the base classes |
350 |
|
|
for performance improvements thanks to the adp profiler tool |
351 |
|
|
(http://pear.php.net/package-info.php?pacid=118) |
352 |
|
|
+ Added xml_doctype() as a helper function for creating a |
353 |
|
|
DOCTYPE tag |
354 |
|
|
+ added build_doctype() for the HTMLPageClass, so you can modify |
355 |
|
|
the DOCTYPE attributes for the document before render() is called. |
356 |
jonen |
1.3 |
This is good for folks that want to tweak the link1 and link2 |
357 |
jonen |
1.1 |
attributes to put mozilla/IE into standards compliant mode. |
358 |
|
|
SEE: |
359 |
|
|
http://mozilla.org/docs/web-developer/quirks/doctypes.html |
360 |
|
|
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp |
361 |
|
|
+ Did a major reworking of the XMLDocumentClass. Added a lot of features |
362 |
|
|
to make it easier to output a valid XML document. |
363 |
|
|
+ Added the WMLTagClass (extends XMLTagClass) as the base class for all WML tags. |
364 |
|
|
+ Added the WMLDocumentClass widget to build and render valid WML Documents. |
365 |
|
|
+ Added the SVGDocumentClass widget to build and render valid SVG Documents. |
366 |
|
|
+ Made the BaseWidget a child of the Container to eliminate redunancy in |
367 |
|
|
the push/add methods. |
368 |
|
|
- added XMLSTYLESHEETtag |
369 |
|
|
- updated HTMLPageClass::add_head_content() to allow n params of content |
370 |
|
|
+ Added the ADODBSQLDataListSource object, to support ADODB DB objects. |
371 |
|
|
- updated examples/widget6.php to show the same list of data from the DB |
372 |
|
|
coming from 2 different sources. One source is a PEAR DB object, the |
373 |
|
|
2nd source is from an ADODB DB Object. |
374 |
|
|
+ Added a CSVFILEDataListSource object, to read data from a CSV formatted file. |
375 |
|
|
- Added the CDATAtag, which is used for escaping a tag's contents in XML, so |
376 |
|
|
the xml parser reading the xml doesn't parse the data. |
377 |
|
|
+ added the full set of W3C's 1.0 recommendation of SVG (Scalable Vector |
378 |
|
|
Graphics) tags. |
379 |
|
|
+ Added the svg_utils.inc which contains the helper functions for constructing |
380 |
|
|
commonly used SVG tags with some help from Charlie Killian. |
381 |
jonen |
1.3 |
|
382 |
|
|
|
383 |
|
|
|
384 |
jonen |
1.2 |
Version 2.0.1 - October 18, 2002 |
385 |
jonen |
1.1 |
- Fixed a problem with html_small() |
386 |
|
|
- got the max_rows functionality working in the DataList widget |
387 |
|
|
|
388 |
|
|
|
389 |
jonen |
1.2 |
Version 2.0.0 - October 16, 2002 |
390 |
jonen |
1.1 |
- Added the title attribute to both html_img_href() and |
391 |
|
|
html_img() |
392 |
|
|
- created a css dir to hold the css files |
393 |
|
|
- Added some new features to XMLDocumentClass, and brought the API |
394 |
|
|
up to 2.x standards (add() instead of push() ) |
395 |
|
|
- Added the new DataList object widget set. |
396 |
|
|
|
397 |
jonen |
1.2 |
Version 2.0.0-RC1 - October 2,2002 |
398 |
jonen |
1.1 |
MAJOR CHANGES/FEATURES |
399 |
jonen |
1.3 |
- Completely rewrote the base HTMLTagClass. It is now |
400 |
jonen |
1.1 |
based off of XMLTagClass which is a child of the |
401 |
|
|
Container class (formerly known as ContainerWidget ) |
402 |
jonen |
1.3 |
|
403 |
jonen |
1.1 |
- Changed all push_reference() calls to require a reference to |
404 |
jonen |
1.3 |
be passed in. call time pass by reference is depricated, and |
405 |
|
|
is going away soon, so this had to get changed. |
406 |
|
|
|
407 |
jonen |
1.1 |
- Removed 2nd and 3rd parameter declarations from the |
408 |
|
|
HTMLTagClass constructor. It now accepts any number |
409 |
|
|
of arguments. The first argument is always an array |
410 |
|
|
of the tag attributes. |
411 |
jonen |
1.3 |
|
412 |
jonen |
1.1 |
- Added a lot of missing html_* helper/wrapper functions. |
413 |
|
|
Some of which have special parameters for most commonly |
414 |
|
|
used features of the specific tag. |
415 |
jonen |
1.3 |
|
416 |
|
|
- changed html_td() parameters. It now accepts |
417 |
jonen |
1.1 |
function html_td($class="", $align=""). 3rd param to |
418 |
|
|
n is content for the tag. |
419 |
|
|
|
420 |
|
|
- added class as the first param to the html_div() function. |
421 |
jonen |
1.3 |
|
422 |
jonen |
1.1 |
- Added add() and add_reference() calls. These replace |
423 |
|
|
the old style push() and push_reference() calls. |
424 |
|
|
All push(), push_reference() and push_row() calls are |
425 |
jonen |
1.3 |
depricated. |
426 |
|
|
|
427 |
jonen |
1.1 |
- Completely changed the css functionality in the widgets. |
428 |
|
|
The widgets now contain the css required for the widget |
429 |
|
|
|
430 |
|
|
- HTMLPageClass automatically imports javascript and css |
431 |
|
|
from a widget, if it is based off of the BaseWidget class |
432 |
|
|
|
433 |
|
|
- Added the ability to tell the PageWidget and HTMLPageClass |
434 |
jonen |
1.3 |
the style of indenting of the html output you want. |
435 |
jonen |
1.1 |
Nice or left justified. |
436 |
jonen |
1.3 |
|
437 |
|
|
|
438 |
jonen |
1.1 |
MINOR CHANGES/FEATURES |
439 |
|
|
- changed all tag declarations to lower case. HTML 4.01 |
440 |
|
|
spec recommends using lower case tags. |
441 |
|
|
- Added set_class(), set_style() and set_id() for the HTMLTagClass. |
442 |
|
|
- Added 1st param to html_span() to be the class value. |
443 |
|
|
- added some new functionality to form_select() so it can |
444 |
|
|
handle multiple selection boxes. |
445 |
|
|
- Added a bunch of missing html/xhtml tags. |
446 |
|
|
- Added some new params to html_mailto() to support |
447 |
|
|
subject, body, cc |
448 |
|
|
- fixed newline problem with the META tag |
449 |
|
|
- added html_small() (Suren Markossian) |
450 |
|
|
- Added set_collapse() to let you collapse a tag and it's |
451 |
|
|
content on 1 line (no newlines or indenting) |
452 |
|
|
- Added html_* functions for all the supported Tag Classes. |
453 |
|
|
- removed the html_nobr(), since this really isn't a valid |
454 |
|
|
w3c tag. If you HAVE to use it...don't. It's DEPRICATED. |
455 |
jonen |
1.3 |
- removed SPACERtag. its not a real tag. |
456 |
jonen |
1.1 |
- cleaned out almost all the comments in the ALLTAGS.inc file |
457 |
|
|
for a small speed up. |
458 |
|
|
- Added font_utils.inc which holds various span/div tag |
459 |
|
|
objects with css classes for fonts, which are defeined in |
460 |
jonen |
1.3 |
css/fonts.css |
461 |
jonen |
1.1 |
- Added title parameter to the NavTable widget->add(), and made |
462 |
|
|
the target param last. |
463 |
|
|
- Moved the widget css files to /css |
464 |
jonen |
1.3 |
|
465 |
|
|
|
466 |
|
|
|
467 |
jonen |
1.1 |
|
468 |
jonen |
1.2 |
Version 1.1.0 - May 7, 2002 |
469 |
jonen |
1.1 |
- Removed <> symbols from the $_tag variables since it is not a part |
470 |
|
|
of an HTML tag. This should reduce the usage of str_replace() in |
471 |
|
|
render() functions and make things a little bit faster. |
472 |
|
|
- Added html_div_small(), which can be used instead of the |
473 |
|
|
spacer.gif trick. |
474 |
|
|
- Fixed a bug with form_radio(). Thanks (Tim Moloney) |
475 |
|
|
- Added container(), a ContainerWidget helper function. |
476 |
|
|
- Fixed a w3c validation bug with the <HR> tag. Can't |
477 |
|
|
have a close tag for it. Thanks (James Dingwall) |
478 |
|
|
- Fixed a problem with XHTML_STRICT no rendering the |
479 |
|
|
<!doctype> attributes correctly. Thanks (Ricardo Pardini) |
480 |
|
|
- Added HTMLPageClass::get_html_attributes() and |
481 |
|
|
HTMLPageClass::set_html_attributes(), which lets the user |
482 |
|
|
of the class get/set the specific attributes to use |
483 |
|
|
for the <html> tag. |
484 |
jonen |
1.3 |
|
485 |
jonen |
1.1 |
NOTE: |
486 |
|
|
- Moved all files from .php to .inc. make sure you change |
487 |
jonen |
1.3 |
you includes to reflect this change. |
488 |
jonen |
1.1 |
|
489 |
|
|
|
490 |
jonen |
1.2 |
Version 1.0.3 - April 8, 2002 |
491 |
jonen |
1.3 |
- Fixed a potential formatting issue w/ tags that don't |
492 |
|
|
automatically newline after the opentag. thanks to the |
493 |
jonen |
1.1 |
Zend debugger. |
494 |
|
|
- Added misc_utils.php which holds new push_args() function. |
495 |
|
|
- set newline_after_opentag for OPTIONtag to FALSE by default. |
496 |
|
|
- Added target to NavTable::push(); |
497 |
|
|
- Changed InfoTable's css to a php file, so we can dynamically |
498 |
|
|
change the colors. |
499 |
|
|
- Made the default cellspacing 0 for InfoTable. |
500 |
|
|
- Fixed a small problem with NavTable widget. If there was no |
501 |
|
|
subtitle, it would render an empty table for the title, |
502 |
|
|
causing old Mozilla's to puke. |
503 |
jonen |
1.3 |
- Changed the size of the TextNav text to 10pt instead of 8pt. |
504 |
jonen |
1.1 |
- Added FRAMEtag, FRAMESETtag, NOFRAMEStag classes. |
505 |
|
|
- Added support in HTMLPageClass widget for framesets. |
506 |
|
|
- Added some frame* utility functions. |
507 |
|
|
- Combined all of the tag_classes files into 1 file to avoid |
508 |
|
|
lots of repetetive includes. |
509 |
jonen |
1.3 |
- Added the new ContainerWidget, which is nothing but a |
510 |
jonen |
1.1 |
wrapper object that contains tags/widgets, and knows how to |
511 |
|
|
render the content with the appropriate indentation level. |
512 |
jonen |
1.3 |
- added the feature of automatically trying to collapse a |
513 |
jonen |
1.1 |
tag and its content to 1 line. This happens if a tag |
514 |
|
|
only has 1 content entry and its a string w/o a \n in it. |
515 |
|
|
- Added new html_input() wrapper function which automatically |
516 |
jonen |
1.3 |
will call htmlspecialchars() on the data for the value |
517 |
|
|
attribute. This helps prevent problems with |
518 |
jonen |
1.1 |
<input value="foo""> -> <input value="foo&quot;"> |
519 |
jonen |
1.3 |
- Fixed a problem with the form_select() helper function. |
520 |
jonen |
1.1 |
The selected item wasn't working. |
521 |
|
|
- Added container(), which is a helper function to build |
522 |
|
|
a ContainerWidget and populate it. |
523 |
|
|
|
524 |
|
|
|
525 |
|
|
|
526 |
jonen |
1.2 |
Version 1.0.2 - November 30,2001 |
527 |
jonen |
1.1 |
- added 3rd parameter to the HTMLTagClass constructor. It |
528 |
|
|
accepts the $newline_after_opentag setting. This helps |
529 |
|
|
to keep the nice formatting on certain tags that you want |
530 |
|
|
to override the default behaviour. |
531 |
|
|
|
532 |
|
|
- fixed HTMLPageClass character encoding bug. It wasn't |
533 |
|
|
outputing a proper meta tag. |
534 |
|
|
- changed doctype for 4.0 to 4.01 |
535 |
|
|
- added target param for the html_a() helper function. |
536 |
|
|
- changed the default parameters to html_img_href, and |
537 |
|
|
html_img. We were forcing the width and height of an image |
538 |
jonen |
1.3 |
to 1x1 if nothing was passed in. We now don't add them to |
539 |
jonen |
1.1 |
the tags if they aren't set, which is the desired result. |
540 |
|
|
|
541 |
|
|
- Changed the FooterNav class to add the ability to show a |
542 |
|
|
"webmaster" mailto link. I also cleaned up the formatting |
543 |
|
|
of it a bit as well. |
544 |
|
|
|
545 |
|
|
- fixed source formatting issue with html_img_href() |
546 |
|
|
- changed html_a() to always force no newline after opentag |
547 |
|
|
- added $target to html_img_href() |
548 |
|
|
- added html_th() helper function. |
549 |
|
|
- Changed html_textarea. Added a new parameter of Value |
550 |
|
|
so you can prepopulate the text area field with data. |
551 |
|
|
- Fixed a bug with InfoTable's render() method. It wasn't |
552 |
|
|
properly handling the output_debug param. |
553 |
|
|
- Added TODO file. |
554 |
|
|
- Added a new feature to automatically htmlentities() for |
555 |
|
|
tag attribute values if we are rendering in XHTML_STRICT |
556 |
jonen |
1.3 |
mode. This prevents the w3c validator from complaining |
557 |
jonen |
1.1 |
about the & char. |
558 |
|
|
|
559 |
|
|
|
560 |
jonen |
1.2 |
Version 1.0.1 - August 25, 2001 |
561 |
jonen |
1.1 |
- added html_div(), and html_td() |
562 |
|
|
- added html_div(), and html_td() |
563 |
jonen |
1.3 |
- fixed w3c validation bug for the TextNav class. |
564 |
jonen |
1.1 |
We can't put a background image in a td. It Has |
565 |
|
|
to be in a css. |
566 |
jonen |
1.3 |
- Fixed a <TD colspan> issue for a blank entry in the |
567 |
|
|
NavTable class. |
568 |
jonen |
1.1 |
- reorganized html_utils.php so the functions are in |
569 |
|
|
alphabetical order. Should be easier to find them |
570 |
jonen |
1.3 |
as a reference. |
571 |
jonen |
1.1 |
- added usemap attribute support to html_img() and |
572 |
|
|
html_img_href() |
573 |
|
|
- updated the online API docs (javadoc output) in the |
574 |
jonen |
1.3 |
doc directory. |
575 |
jonen |
1.1 |
|
576 |
jonen |
1.3 |
|
577 |
|
|
</pre>
|
578 |
|
|
<p class="notes" id="credit">
|
579 |
|
|
Documentation generated on Thu, 1 Apr 2004 09:37:04 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC2</a>
|
580 |
|
|
</p>
|
581 |
|
|
</body>
|
582 |
|
|
</html>
|