[Vtigercrm-developers] Error in Report.tpl
Patrick Reynolds
patrick.reynolds at digi-sign.com
Fri Jan 18 07:21:04 PST 2008
Hi there,
I realise you're all busy with the new release (looks excellent by the way
;-) but I'm wondering if you've any feedback for me on the source code &
features we sent you?
Many Thanks,
Patrick Reynolds
Email: patrick.reynolds at digi-sign.com
Why not preview the Greatest Innovation in SSL technology in more than 13
years at http://www.digi-sign.com/aacd
Direct Dial : +353 1 662-1249
Mobile/Cell : +353 87 256-0337
Toll Free USA: +1 800 959-4039
The Certificate Corporation
------------------------0------------------------
The information in this email is confidential
and may be legally privileged. It is intended
solely for the addressee. Access to this email
by anyone else is unauthorised. If you are not
the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be
taken in reliance on it, is prohibited and may be
unlawful. Digi-Sign Limited Registered in Ireland
No. 351655. Registered Address: Enterprise Centre
Taylor's Lane, Dublin 8. IRELAND
------------------------0------------------------
-----Original Message-----
From: vtigercrm-developers-bounces at lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] On Behalf Of carlo
beschi
Sent: 18 January 2008 12:05
To: vtigercrm-developers at lists.vtigercrm.com; santacroce at nablacom.it; Tullio
Bezzornia
Subject: Re: [Vtigercrm-developers] Error in Report.tpl
Hi Roberto, all
thanks for the fix :-)
I've updated http://vtiger.studiosynthesis.biz/504-rc2/ (live demo of
vtiger crm 5.0.4 RC2 with italian language pack).
I fixed a second bug of the italian/international version, thanks to
Tullio Bezzornia (all credits to him for submitting the bug and
providing the patch :-)):
while in a module, like Accounts, selecting the module (not the global)
search, and the option advanced search, the "show more" option doesn't
work and generates an error
invalid flag after regular expression
[Break on this error]
this is because of the "è" character
Tullio fixed this modifying /include/utils/SearchUtils.php adding at
line 528
$fieldlabel = str_replace ("'","`", $fieldlabel );
and replacing around line 613
$CRIT_OPT = "<option
value=\'cts\'>".$app_strings['contains']."</option><option
value=\'dcts\'>".$app_strings['does_not_contains']."</option><option
value=\'is\'>".$app_strings['is']."</option><option
value=\'isn\'>".$app_strings['is_not']."</option><option
value=\'bwt\'>".$app_strings['begins_with']."</option><option
value=\'ewt\'>".$app_strings['ends_with']."</option><option
value=\'grt\'>".$app_strings['greater_than']."</option><option
value=\'lst\'>".$app_strings['less_than']."</option><option
value=\'grteq\'>".$app_strings['greater_or_equal']."</option><option
value=\'lsteq\'>".$app_strings['less_or_equal']."</option>";
with
$CRIT_OPT = "<option value=\'cts\'>".str_replace
("'","`",$app_strings['contains'])."</option><option
value=\'dcts\'>".str_replace
("'","`",$app_strings['does_not_contains'])."</option><option
value=\'is\'>".str_replace
("'","`",$app_strings['is'])."</option><option
value=\'isn\'>".str_replace
("'","`",$app_strings['is_not'])."</option><option
value=\'bwt\'>".str_replace
("'","`",$app_strings['begins_with'])."</option><option
value=\'ewt\'>".str_replace
("'","`",$app_strings['ends_with'])."</option><option
value=\'grt\'>".str_replace
("'","`",$app_strings['greater_than'])."</option><option
value=\'lst\'>".str_replace
("'","`",$app_strings['less_than'])."</option><option
value=\'grteq\'>".str_replace
("'","`",$app_strings['greater_or_equal'])."</option><option
value=\'lsteq\'>".str_replace
("'","`",$app_strings['less_or_equal'])."</option>";
Ciao,
Carlo
Santacroce ha scritto:
> Hi there,
>
> during the test of the RC in italian localization I found a bug: in the
> report list page when I click on the + button the voices of the menù are
> hidden if the value store in
>
> $app_list_strings = Array (
>
> 'moduleList'
>
> are different from the english name. So the menù had all empty voices.
>
> The code interested from the bug is in the file
\Smarty\templates\Report.tpl
> at line 62
>
> <a href="javascript:CreateReport('{$modulename}');"
> class="drop_down">- {$APP.$modules}</a>
>
> To correct this bug replace this string with
>
> <a href="javascript:CreateReport('{$modulename}');"
> class="drop_down">- {$modules}</a>
>
> Roberto
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
_______________________________________________
Reach hundreds of potential candidates - http://jobs.vtiger.com
More information about the vtigercrm-developers
mailing list