Fwd: RE: [dev] GBP £ display in turba

Jan Schneider jan at horde.org
Mon Dec 20 00:48:23 PST 2004



----- Weitergeleitete Nachricht von horde at sadeghi.co.uk -----
     Datum: Mon, 20 Dec 2004 02:09:23 -0000
       Von: Horde Development <horde at sadeghi.co.uk>
Antwort an: Horde Development <horde at sadeghi.co.uk>
   Betreff: RE: [dev] GBP £ display in turba
        An: 'Jan Schneider' <jan at horde.org>

Here is an extract from attributes.php and sources.php . Display shows the
data properly, but the Edit select Box displays ?0k - ?19.9k . If I change
the £ to $ the Edit select box displays properly, but I need it to show £
sign and of course when the Edit is wrong it does match any entries.


$attributes['BillableFee'] = array(
'label' => _("Billable Fee"),
'type' => 'enum',
'required' => false,
'params' => array(array('    '=>'','£0k - £19.9k'=>'£0k - £19.9k','£20k
-
£49.9k'=>'£20k - £49.9k','£50k - £99.9k'=>'£50k - £99.9k','£100k -
£249.9k'=>'£100k - £249.9k','£250k - £499.9k'=>'£250k -
£499.9k','£500k+'=>'£500k+'))

);






$cfgSources['localsql'] = array(
    'title' => _("Clients"),
    'type' => 'sql',
    'params' => array_merge($conf['sql'], array('table' => 'Clients')),

     'map' => array(
        '__key' => 'object_id',
        '__owner' => 'owner_id',
        '__type' => 'object_type',
        '__members' => 'object_members',
        'name' => 'object_name',
        'email' => 'object_email',
        'alias' => 'object_alias',

	  'BillableFee' => 'BillableFee',

     	   More fields in here	....





-----Original Message-----
From: dev-bounces at lists.horde.org [mailto:dev-bounces at lists.horde.org] On
Behalf Of Jan Schneider
Sent: 19 December 2004 11:47
To: dev at lists.horde.org
Subject: Re: [dev] GBP £ display in turba

Zitat von Horde Development <horde at sadeghi.co.uk>:

> I have a currency field in Turba set to enum with £19.9k in the
attributes,
> but the display shows ? instead of £. It works fine for $.

We need the details from attributes.php and sources.php that you used for
that field. I am not sure what exactly you are talking about.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/

-- 
Horde developers mailing list - Join the hunt: http://horde.org/bounties/
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: dev-unsubscribe at lists.horde.org




----- Ende der weitergeleiteten Nachricht -----


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the dev mailing list