
-------------------------------
PgMarket 1.4.4 (Aug 16th, 2001)
        BUG FIX RELEASE
-------------------------------

lib/dblib.inc.php:
modified and fixed the search engines.
Thanks to Ercole Furii <ercole@telug.it>
for his bug report.

admin/products.php, function import_images():
$oldtype where used before having a defined value.
FIXED

admin/change_password.php:
in the function update_user_password() the sending of e-mail
is intended to inform the shop admin when *his* password changes,
and *not* each time he updates someone's password.
FIXED

Some improvements to the layers menu in order to
- improve its speed
- reduce the size of related (client side) JavaScript + HTML code
- avoid problems with "strange characters" in category names
- avoid stupid errors of Microsoft browsers
Affected files:
lib/layersmenu-footer.inc.php
lib/layersmenu-header.inc.php
DOCS/layersmenu-example/layersmenu-footer.inc.php
DOCS/layersmenu-example/layersmenu-header.inc.php
Eliminated the no more used function string_cleanup_js() from
lib/stdlib.inc.php

Upgraded the PHP Tree Menu to version 1.1.
Affected files:
lib/pgmarket.inc.php
lib/treemenu.inc.php
shopping/navigation.php

Changes to the layers menu to match the PHP Tree Menu 1.1
Menu Structure File format.
Affected files:
lib/pgmarket.inc.php
lib/layersmenu-footer.inc.php
lib/layersmenu-header.inc.php
DOCS/layersmenu-example/layersmenu-footer.inc.php
DOCS/layersmenu-example/layersmenu-header.inc.php
DOCS/layersmenu-example/layersmenu.txt
DOCS/layersmenu-example/README-layersmenu
DOCS/layersmenu-example/index-static.html

logout.php: added
unset($SESSION["orderinfo"]);

Added a missing "</tr>" at the end of the table to the following templates:
admin/templates/brand_form.ihtml
admin/templates/category_form.ihtml
admin/templates/iva_form.ihtml
admin/templates/order_state_form.ihtml

Removed a "</td>" tag at the end of the template
admin/templates/data_import.ihtml

Modified the build_category_tree() calls to pass always by reference
(and not by value) the first argument.
Affected files:
lib/pgmarket.inc.php
admin/categories.php
admin/products.php

lib/stdlib.inc.php:
changed variable passing by reference to variable passing by value
for functions ov(), pv(), pvwbr(), read_template().

lib/stdlib.inc.php:
Changed "! isset" in "empty" in function setdefault()

Corrections to
DOCS/pgmarket-db_schema-1.4.pdf
DOCS/pgmarket-db_schema-1.4.sdd

--------------------------------
PgMarket 1.4.3 (July 21th, 2001)
         BUG FIX RELEASE
--------------------------------

"<? $SESSION... ?>" --> "<?=$SESSION... ?>" in
admin/templates/brand_list.ihtml
admin/templates/category_list.ihtml
and "<? $frm... ?>" --> "<?=$frm... ?>" in
admin/templates/category_form.ihtml
Thanks to Brian Dowling <brian@generationz.com>
for his bug report.

admin/iva.php, delete_iva(), line 143: the reset of iva_id
has be done setting it to 0, not to 1.
FIXED

"$frm["iva"])" --> "$frm["iva"]" in
admin/templates/iva_deleted.ihtml

Other minor undocumented changes.

--------------------------------
PgMarket 1.4.2 (July 15th, 2001)
         BUG FIX RELEASE
--------------------------------

lib/dblib.inc.php : by default, "pg_pconnect" --> "pg_connect"
(i.e., now non persistent connections are used
with PostgreSQL instead of persistent connections)
to workaround a known bug in the PHP <--> PostgreSQL interfacing;
such bug can cause an unjustified overload for the server because
the number of persistent connections continues to undefinitely grow.
The named bug is reported at php.net

Moved application.inc.php to application-it.inc.php
and then made a symbolic link from application-it.inc.php
to application.inc.php, according to the suggestion from
Michael Kress <kress@hal.saar.de>

Added missing "global $yes;" to send_form() in users/contact.php

Special levels were not shown in the category list (admin section).
FIXED.
Affected file:
admin/templates/category_list.ihtml

Added a stripslashes() to layersmenu-footer.inc.php
for the layer title, i.e.
"$tree[$cnt][1]" --> "stripslashes($tree[$cnt][1])"
(also to the "off-line" version in DOCS).

Added missing $Edit_this_order_state in the global.inc.php files.

The page body was not viewed in Netscape 4 if trying
to purchase with an empty shopping cart.  FIXED.
Affected file:
shopping/templates/purchase_now.ihtml
Thanks to Roberto Picchiottino <picchio@courmayeur.valdigne.com>
for his bug report.

Extended string_cleanup() and string_cleanup_js()
in lib/stdlib.inc.php to foresee ",", ".", ";", ":"
in category names and avoid stupid JavaScript errors.
Thanks to Marco Di Nardo <m.dinardo@gruppodigito.it>
for his bug report.

Added "include ($CFG->global);" in require_priv()
as $Insufficient_Privileges was out of the scope;
affected file:
lib/pgmarket.inc.php

"$DOC_TITLE = $Shopping_Catalog;" --> "$DOC_TITLE = $Search_Results;"
in shopping/search.php

Missing the "number" field in admin/templates/user_details-az.ihtml
FIXED

Eliminated some unuseful pv() calls.

Other undocumented minor changes.

-------------------------------
PgMarket 1.4.1 (July 1st, 2001)
        BUG FIX RELEASE
-------------------------------

Signup (Italy): it was possible to signup
without providing the Fiscal Code.
FIXED
Affected files:
users/signup.php
users/templates/signup_form-pf.ihtml

After successful subscription, the welcome message proposed
a broken link to the login page.
FIXED
Affected files:
users/templates/??/signup_success.ihtml

Correctly closed the "head" tag in
DOCS/layersmenu-example/index.php
DOCS/layersmenu-example/index-static.html

Minor changes to
shopping/templates/advanced_search_form.ihtml
w.r.t. "class=label"

"pvwbr($prod->bname)" --> "pv($prod->bname)"
in shopping/templates/catalog.ihtml

Other minor changes to templates.

Minor cosmetic code changes,
like substitutions of spaces with tabs... :)

