[Vtigercrm-commits] [vtiger-commits] r10367 - in /vtigercrm/branches/5.0.3: Smarty/templates/ReportRun.tpl modules/Reports/language/en_us.lang.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Mar 6 09:06:53 EST 2007


Author: saraj
Date: Tue Mar  6 07:06:46 2007
New Revision: 10367

Log:
fix for i18n issue - No filter Selected mssg. Fixes #3066  --Minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/ReportRun.tpl
    vtigercrm/branches/5.0.3/modules/Reports/language/en_us.lang.php

Modified: vtigercrm/branches/5.0.3/Smarty/templates/ReportRun.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/ReportRun.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/ReportRun.tpl Tue Mar  6 07:06:46 2007
@@ -64,13 +64,13 @@
 			{if $report_in_fld_id neq $REPORTID}
 				<option value={$report_in_fld_id}>{$MOD.$report_in_fld_name}</option>
 			{else}	
-				<option value={$report_in_fld_id} "selected">{$MOD.$report_in_fld_name}</option>
+				<option value={$report_in_fld_id} selected>{$MOD.$report_in_fld_name}</option>
 			{/if}
 		{else}
 			{if $report_in_fld_id neq $REPORTID}
 				<option value={$report_in_fld_id}>{$report_in_fld_name}</option>
 			{else}	
-				<option value={$report_in_fld_id} "selected">{$report_in_fld_name}</option>
+				<option value={$report_in_fld_id} selected>{$report_in_fld_name}</option>
 			{/if}
 		{/if}
 		{/foreach}
@@ -205,7 +205,9 @@
 		var reportinfr = 'Reporting  "'+stdDateFilterFieldvalue+'"   (  till  '+enddatevalue+')';
 	}else if(startdatevalue == '' && enddatevalue =='')
 	{
-		var reportinfr = 'No filter Selected';
+		{/literal}
+                var reportinfr = "{$MOD.NO_FILTER_SELECTED}";
+                {literal}
 	}else if(startdatevalue != '' && enddatevalue !='')
 	{
 	var reportinfr = 'Reporting  "'+stdDateFilterFieldvalue+'"  of  "'+stdDateFiltervalue+'"  ( '+startdatevalue+'  to  '+enddatevalue+' )';

Modified: vtigercrm/branches/5.0.3/modules/Reports/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Reports/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Reports/language/en_us.lang.php Tue Mar  6 07:06:46 2007
@@ -191,6 +191,9 @@
 'Next 60 Days'=>'Next 60 Days',
 'Next 90 Days'=>'Next 90 Days',
 'Next 120 Days'=>'Next 120 Days',
+'TITLE_VTIGERCRM_CREATE_REPORT' => 'vtiger CRM - Create Report',
+'TITLE_VTIGERCRM_PRINT_REPORT' => 'vtiger -  Print Report',
+'NO_FILTER_SELECTED' => 'No filter Selected',
 
 'LBL_GENERATE_NOW'=>'Generate Now',
 'Totals'=>'Totals',
@@ -200,8 +203,6 @@
 'MIN'=>'MIN',
 'LBL_CUSTOM_REPORTS'=>'Custom Reports',
 
-//Added for 5.0.3
-'TITLE_VTIGERCRM_CREATE_REPORT'=>'vtiger CRM - Create Report',
 )
 
 ?>





More information about the vtigercrm-commits mailing list