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