
------------------------------
PgMarket 1.4.0 (June 10, 2001)
------------------------------

Minor correction and changes to the documentation.

Changed
<table width="100%" cellspacing=0 cellpadding=10>
to
<table width="100%" cellspacing=0 cellpadding=10 border=0>
in many templates

Replaced pvwbr() with pv() here and there.

A minor change in
shopping/templates/catalog.ihtml
to avoid executing twice $numr = db_num_rows($qid_p)

In shopping/index.php it was not necessary to retrieve the "imagetype",
imagewidth", and "imageheight" fields from the "products" table.

Some minor comments added to lib/dblib.inc.php

templates/header.ihtml : "td class=normal" --> "td class=normalbar"
for the layers menu.
Eliminated duplicate definitions of ".normalbar" in styles/pgmarketd?.css

Replaced
$SESSION["user"]["priv"] == "admin"
with
has_priv("admin")
Affected files:
admin/change_password.php
lib/pgmarket.inc.php ( reset_user_password() )
shopping/templates/catalog.ihtml
users/change_password.php

Slight modifications to shopping/purchase_now.php to use $frm[]

Modified logout.php to unset also $SESSION["wantsurl"]

Eliminated pv() to obtain the image filenames in the "img src" tags 

Added some lines of code to admin/categories.php
to reload the navigation frame if it is used.

Changed the layers menu to place the rightarrow outside of the link.

Added blank spaces to
shopping/templates/shopping_cart.ihtml
shopping/templates/purchase_confirmation.ihtml
to let some "hr size=1" to be viewed on Mozilla.

lib/pgmarket.inc.php , function get_category_tree() :
eliminated "ORDER BY special_level, name" from the query as it was
totally unuseful.

lib/pgmarket.inc.php , function validate_price() :
improved the check to refuse strings containing dots (".")
if $SESSION["price_must_be_integer"] ... to avoid that 30.000
is interpreted as 30 :)

Some other minor undocumented changes.

--------------------------------------
    PgMarket 1.4rc2 (June 3, 2001)
RELEASE CANDIDATE - DEVELOPMENT BRANCH
--------------------------------------

Added comments in the layers menu code.
A minor bug fix to the layers menu.
Added a right arrow in the layers menu, to immediately recognize
links that pop up a layer.
Extended layersmenu.txt in the "off-line" example, to highlight
that leafs are correctly detected also for children of the root node
(i.e. subcategories of "Top").
Added the copyright note (as HTML commented code) in the layers menu.
Updated the index-static.html in the layersmenu example.
Added documentation related to the layers menu.
Renamed layersmenu-header.php to layersmenu-header.inc.php
and layersmenu-footer.php to layersmenu-footer.inc.php,
moved layersmenu-header.inc.php and layersmenu-footer.inc.php
to the "lib" directory, updated all links.

Modified various queries and templates in order to have no more need
for the get_iva() function.

Various little changes to rename "state" --> "country".
Thanks to Barry Blackford <barry@glonet.co.nz>
for his bug report.

Updated pgmarket-db_schema-1.4

Fixed a bug causing wrong redirection when changing language
in a search result page (Fabio Molinari).
Affected file: lib/referer_and_query.inc.php

Replaced ereg_replace() with addslashes() in the import code (in the "admin"
directory), where dangerous characters quoting is needed (Fabio Molinari).

Added credits to Fabio Molinari.

Moved md5.js to the "lib" directory.

admin/products.php , print_details_product() :
eliminated 4 unuseful lines of code that assigned values to
$frm["newmode"] and $frm["submit_caption"]

locale/us/global.inc.php : translated $Import_Images_Button_Label
that was written in Italian.
Other English corrections; among them:
"enterprise" --> "company"
"percentual" --> "percentage"
"matherial" --> "material"
"too much long" --> "too long"
"too much short" --> "too short"
"cipher" --> "digit"
Thanks to Andrew Stubbs <andrews@stusoft.com>
for his bug report.

Some other additions to the documentation.

Some other minor undocumented changes.

--------------------------------------
    PgMarket 1.4rc1 (May 27, 2001)
RELEASE CANDIDATE - DEVELOPMENT BRANCH
--------------------------------------

Added, reorganizated, and updated documentation.

Eliminated all JOINs to more easily support PostgreSQL 6.5 and MySQL;
easier installation to workaround the lack of UNION in MySQL.
Dropped DOCS/PostgreSQL-6.5.txt as now PgMarket should work
with PostgreSQL 6.5 without any patch.

Added lib/referer_and_query.inc.php to avoid code replication.

Added some controls to forbid intentional and maniac ;) delete/edit/update
of the row with id = 0 in brands, iva, and orders_states.

The notes added to orders by the shop administrator must not be viewed
in the users' order detail page :)  FIXED
Some other related small templates changes.

Added some stripslashes() and a shutdown() to layersmenu-header.php
(also to the "off-line" version in DOCS).

Used gs and ps2pdf from ghostscript 5.10 of Red Hat Linux 6.1
to obtain pgmarket-db_schema-1.4.pdf, as Debian GNU/Linux 2.2
still uses ghostscript 5.10 :(

Updated the import spreadsheet and IMPORT/products.txt
to add explanation titles to the spreadsheet tables columns and to provide
a smart example of how to import products belonging to more than one category.

Some other minor undocumented changes.

-------------------------------------
    PgMarket 1.3.4 (May 20, 2001)
DEVELOPMENT VERSION - UNSTABLE BRANCH
-------------------------------------

Added the possibility of removing the product image
(i.e., of leaving the product without any image) when editing it.

mysql.start.dump: added to the "brands" table a row with id = 0
to handle correctly products without brands.

For easier customization, now geometrical parameters of the layers menu
are placed just at the beginning of layersmenu-header.php ,
also in the "PgMarket-independent" example.

"order_states" --> "orders_states"
in DOCS/pgmarket-db_schema-1.4.*

Some minor undocumented changes.

-------------------------------------
    PgMarket 1.3.3 (May 13, 2001)
DEVELOPMENT VERSION - UNSTABLE BRANCH
-------------------------------------

Changes to the JavaScript layers menu: now, if the mouse pointer
passes over the link to a category without subcategories
(i.e., a tree leaf), no layer of lower order is shown,
i.e., if a lower level layer was previously shown,
then it disappears.

Added code and links to let visitors to turn on/off frames
and the layers menu "on the fly", i.e. while browsing the catalog.

on_special field renamed as special_level

Changes to the database schema, in order to
- provide a special_flag to select the Special Products
  independently of special_level (and of special_th, no more used)
- allow the store admin to add, edit, delete the possible order states

Other naming changes here and there.

Added the code needed to handle the order states.

Bug fixes.

-------------------------------------
   PgMarket 1.3.2 (April 30, 2001)
DEVELOPMENT VERSION - UNSTABLE BRANCH
-------------------------------------

Fixes to the JavaScript layers menu.
Now the layersmenu related code is placed in well identified files.

Added under the DOCS directory an "off-line" example
of the layersmenu, to allow using and debugging it
independently of PgMarket.

Now through application.inc.php settings it is possible to choose
if to use or not to use
- frames ($SESSION["frames_used"]; $frames is not used anymore)
- the JavaScript layers menu
- brands
- iva
- weight
- delivery price

Now changes to $SESSION["frames_used"] (and $SESSION["catbrowser_target"])
in application.inc.php are effective also "on the fly",
i.e., without exiting and relaunching the browser.
Maybe, on the next release, it will added the possibility to toggle
this option simply through a "click", while browsing.

The "product and brands" queries (and related templates) have been modified
to use JOINs and to reduce the number of necessary queries.

Set on_special = -1 for the "Top" category, for ordering purposes.

Some templates improvements in the admin section, to help
anyone using low screen resolutions such as 800x600.

Some other minor changes.

-------------------------------------
   PgMarket 1.3.1 (April 14, 2001)
DEVELOPMENT VERSION - UNSTABLE BRANCH
-------------------------------------

The language change didn't work with some versions
of internet explorer as the code was dirty; FIXED.

Some css related corrections to the javascript menu;
an empty "shutdown()" link removed.
Added a static example for the javascript menu
in the DOCS directory.

Possibility for the customers (users) to monitor
their Order Logs and the orders status.

-------------------------------------
    PgMarket 1.3.0 (April 8, 2001)
DEVELOPMENT VERSION - UNSTABLE BRANCH
-------------------------------------

Many cosmetic changes and usability improvements:

- better use of .css files, some examples are provided

- Tree Menu integrated into the same browser window,
  through the use of frames

- possibility to choose through the $frames variable
  in application.inc.php if to use or not to use
  a frame with the Tree Menu inside;
  when not using frames, other elements are provided
  in the catalog page, to allow an easy browsing
  of categories and subcategories

- a javascript hierarchical dynamic menu to rapidly
  browse categories and subcategories,
  with look, feel, and behaviour analogous
  to the Gnome and KDE main menus :)

