Hi all,
1)
The utf-encoding is a real pain for IE.
Half of the times IE won't recognise the charset given in the meta-tag -
causing the page to freeze when redirecting.
A sollution is to set "AddDefaultCharset utf-8" in httpd.conf (not sure what to
do with non-apache-serves).
I propose a configurable charset - either "iso-8859-1" or "utf-8" to choose
from when installing the system - given by a variable like:
$GLOBALS['phpgw_info']['server']['charset']
2)
The db-abstraction (referred to as phplib) from .16 is faster (about 34%) than
adodb used in head.
I propose a configurable variable
$GLOBALS['phpgw_info']['server']['db_abstraction'] in header.inc.php
There are some minor changes to make the current code compatibe with both
adodb and phplib - as:
$GLOBALS['phpgw']->db->resultSet->fetchRow();
replaced with
$GLOBALS['phpgw']->db->Record
and
$GLOBALS['phpgw']->db->resultSet->fields('fieldname')
replaced with
$GLOBALS['phpgw']->db->Record['fieldname']
the phplib could reside in its one catalog (as /phpgwapi/inc/phplib)
I have already modified setup and header.inc.php.template on my test-server.
To test both the charset and the db-switch - try the code found in
http://cvs.savannah.nongnu.org/viewcvs/fmsystem/
How about it?
Regards
Sigurd
_______________________________________________
phpGroupWare-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers