[pmapper-users] Translation of string using language_xx.php affect postgis statement at mapfile

2008-06-09 Thread Luigi Castro Cardeles
good morning list, i was using languge_br.php for translating string to portuguese brazilian. But when the string i want to translate is in DATA definition at mapfile, it is translated too. for example: ===mapfile - layer definition=== NAME 'layer1' DATA the geom from table using unique gid

Re: [pmapper-users] Translation of string using language_xx.php affect postgis statement at mapfile

2008-06-09 Thread Armin Burger
Luigi the problem is related to the LABELITEM tag. Substitute in /incphp/initgroups.php line 159 $labelItem = _p($mapLay-labelitem); with the following $labelItem = $mapLay-labelitem{0} == @ ? _p(substr($mapLay-labelitem, 1)) : $mapLay-labelitem; The patch is also committed to latest-stable