PHPGem Changelog
================

2000-11-04: New version 2.4
 Changes:
    1.Sessions (only on PHP4).
    2.Support for SSL.

2000-10-30: New version 2.3
 Changes:
    1.Automatic request of user's password after timeout (default 3 min).
    2.Some errors are fixed.

2000-10-24: New version 2.2
 Changes:
    1.PHPGem-PhotoAlbum compatible with any SQL server.
    2.Transactions for PostgreSQL, Interbase and Sybase SQL Server.

2000-10-23: New version 2.1
 Changes:
    1.Added support for Sybase SQL Server.

2000-09-23: New version 2.0
 Changes:
    1.Added support for Interbase SQL server. 
    2.Migrated from "SQL_fetch_array" to "SQL_fetch_object". 
    3.Added new option SQLQUERYSELECT. 
    4.Added support Gimp for images scaling. 
    5.PHPGem-PhotoAlbum work on any SQL server. 

2000-08-16: New version 1.9
 Changes: 
     1.Small errors are fixed.

2000-08-05: New version 1.8
 Changes: 
     1.Added support for Thttpd web server. 
     2.Merged code of SaveNew and Update operations. 
     3.Added new features with images (functions, modes for viewing) 
     4.Completed Logout procedure. 
     5.Added features for using external include files with code. 
     6.Added new GUI from guntzer (contrib/ directory). 
     7.Added small addition for datecode.inc by "Darren Jeffrey (SCCC)" . 
     8.Added several options and features. 

2000-06-10: New version 1.7
 Changes: 
      1.Added support for images (TYPE=str,HTYPE=image). About image
         uploads and Russian Apache: Russian Apache recodes ALL
         information in files. You should make copy of result program
         and say to Russian Apache that "CharsetDisable On" in the new
         directory. 
      2.You can specify sintax of your SQL-server. Added many new
         variables. You have to edit themes/*.global files (you should
         insert all information about your SQL-server in your global
         file). 
      3.Pierre GUNTZER <guntzer@arkane-media.net> added support for
         Adabas SQL server. 
      4.Modified searching procedure: now you can search in several
         fields simultaneously. 
      5.Added "index" file - file of starting working of the program
         where you can specify "demo" mode of the program. 
      6.Added prototype for logout function. 
      7.Pedro Pablo <pfabrega@arrakis.es> made small programs for
         editing table and theme files. I placed them on contrib/edit
         directory. 
      8.Added several small additions and bugfixes. 

2000-02-23: New version 1.6
Changes: 
       1.Now logical structure of the result program consists of two parts:
         work with the full table and work with the results of search.
         Beside you don't need to use browser button "Back" for any
         operations by working with table. 
       2.Now $sql_debug and $demo_mode are global values. Added new global
         value $global_limit. If $global_limit is determined then $limit =
         $global_limit in all tables in the program. 
       3.Now sizes of images are inserted into HTML text. 
       4.Error connected with checkbox has been corrected. 

2000-02-21: New version 1.5
Changes: 
       1.Added new data type: decimal. 
       2.Now SQL text for creating tables is in sevaral files as well as tables
         located in several modules. 
       3.If by inserting new entry, updating entry, deleting entry, error occur
         there will be given initial form for correcting. 

2000-02-19: New version 1.4
Changes: 
       1.Added new types of data: datetime, time, user. 
       2.You can search data in the interval between min and max values.
         For TYPE=date,datetime,time,int and float. 
       3.Corrected support for MySQL's SQL sintax. 
       4.Added navigation menu in the table. It includes links to: start
         of the table, several entries ago, previous entry, next entry,
         several entries forward, end of the table. 
       5.You can specify type of links on the page. Type of links: href
         (text),image (text image), javascriptimage (2 images with
         different colors of border), buttonimage (image from file). 
       6.Added $demo_mode variable. You can generate program with
         theme-file jsdemo.theme and look at the tables with JavaScript
         buttons. If you set $demo_mode=0 you will see usual view of
         tables. 
       7.Programs genforms.php3 and ytgen.php3 were combined in one
         program phpgem.php3. 
       8.You can specify date field type. You should set DATA = ttp - for
         menu text,text,plist. Now you should use HTYPE=date and DATA=ppp
         instead of HTYPE=date_pl. 
       9.You can specify background images for page and table rows. 
      10.You can specify directory for buttons; use $buttons_dir in
         theme-file and list all button's names in
         buttons_dir/buttons.lst. 
      11.Button "Duplicate" entry. 

1999-12-13: New version 1.3
Changes:
       1.Added permissions. 
       2.Changed format of input file: TYPE - type of field
         (int,str,date,float), HTYPE - HTML type of field
         (str,blob,date,date_pl,plist,plistdb,rlist,checkbox). (some code
         from PHPGen 0.8). 
       3.You can set SRCHMULTI=on for HTYPE=plist and plistdb. As a result
         you will get possibility to make search for several values
         simultaneously for this field. 
       4.You can specify callback type: meta (META HTML tag) or js
         (JavaScript). 
       5.PHPGem generate sql-text for creating tables (for PostgreSQL). If
         you want to skip field in result SQL table you should use
         ONLYVIS=on. 
       6.The information from child tables you can see in Detail View of
         the Parent table. 

1999-12-05: New version 1.2
Changes:

    1. Added structure of modules. Now you can specify result 
    file for each table.
    2. All names of fields and tables moved into special file 
    filename_names.php3.
    3. Minor changes in SQL-queries.

1999-11-14: New version 1.1
Changes:

    1. Big modification of SQL-queries for specifying all
    fields of the result table: all fields and all tables for
    building of the result table describe in new query string.
    2. Now you should use project_name field in .table file to
    create personal directory output/project_name for this
    project. All files of result program will be placed in
    this directory.
    3. Added two new files to result program:
    filename_global.php3 and filename_theme.php3 files. It was
    made in order to you can change global programs parameters
    quickly. All host(SQL) and theme dependent information
    will be placed in these files.
    4. New options: you can specify a lot of HTML-tags in
    result program. You can specify table,body,colors tags and
    values in filename_theme.php3 file. I announced table tags
    specification for intellectual formatting of result HTML
    text from the program.
    5. New link in full-list table: you will see all fields of
    the table if go to 'Show all fields' link.
    6. New sort options in full-list table: you can sort all
    fields in increase direction and decrease direction (if
    decrease sort then there will be added 'DESC' word in
    SELECT SQL query).
    7. Added support for non-editable fields. If this field is
    non-editable for user you should set NONEDITABLE=on. You
    should use it for some fields in the table, which are
    computed by TRIGGERs and etc.
    8. Added new option for difinition of locale: you should
    determine NLSLocale string in NLS file (I am from Russia
    and I have to set locale as ru_RU.KOI8-R).
    9. When SQL query return error, you will see error message
    from SQL-server and error text of SQL query.
    10. Added possibility to specify format of LIMIT string in
    SELECT SQL query in order to this format corresponds to
    your SQL-server.
    11. Minor bugfixes.
    12. I renamed V= to VISIBLEFIRST= in *.table file.

1999-07-04: New version 1.0
Changes:

     1. Added support for working with multi-level tables.
     Table can be parent-table with several child-tables. There
     is example on picture.
     2. About DATE: added type=date where day and month fields
     are text fields. Also you should modify format of date in
     the program so that this format will be equial to the date
     format on your SQL-server. You should use for it new
     option date_format in theme files. It can be mdy or ymd or
     some other.
     3. New option for debug: if you set sql_debug=true then
     you will see all SQL-commands.
     4. Minor bugfixes.

1999-07-03: New version 0.9
Changes:

     1. Moved NLS and themes to separate subdirectories. (idea from from
     PHPGen 0.6) Files with themes consist only from themes-information.
     Information about your tables moved to *.table files. Modified for it
     genforms.php3
     2. Added support dor DATE, partically from cjr@dds.nl. Field with date
     have to have type=date_pl.
     3. Moved output to separate subdirectorie (from cjr@dds.nl).
     4. Added option for centering all tables (center=true in theme-file).
     5. Minor changes from PHPGen 0.6.

1999-06-28: New version 0.8
Changes:

     1. Now PHPGem can work with several tables from one pgtheme file! New
     commands for it are described in sample.pgtheme.
     2. Modified input file format: added the field "MUSTDEFINE". If it is
     "on" then this field must be defined in "New" form.

1999-06-20: New version 0.7
Changes:

     1. Now the result PHP-script is full PHP-script without inserting of
     HTML-tegs which printed by "echo".
     2. You can specify php-start and php-end tegs : for example either <?
     or <?php or <script language="php"> for php-start teg.
     3. Corrected the using of the "secure" option.
     4. Removed genform.php3 - it is very difficult to fill all fields in
     it.
     5. The name of resulting script now isn't statical but it calculates
     from $REQUEST_URI.
     6. You can forbid using of the LIMIT possibility (it can't work on some
     SQL-servers). To do it set "limit = off" in pgtheme-file.

1999-06-18 : New version 0.61
Changes:

     1. I changed format pgtheme-files. It is useful if you have several
     fields in the table. Now all informaion about field is situated
     between "FIELD" and "END" tegs.

99-06-17 V 0.6
17 june 1999: New version 0.6
Changes:
1. I add the option "secure = on/off" to the pgtheme-files. If it is in "on"
then new PHP-script will ask you for your user name/password to connect to
SQL-server. It is a very nice option. I recommend you to write down the
"secure = on" in yout pgtheme-files.
2. Formely in the title of table you saw field's names. Now the field's
names transformed into links to web-pages with the table sorted by this field.
3. Minor changes in the field's names output.

99-06-16 V 0.5
First release
