[Vtigercrm-commits] [vtiger-commits] r11052 - /vtigercrm/branches/5.0.3/modules/CustomView/EditView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sat May 26 05:48:56 EDT 2007
Author: jerrydgeorge
Date: Sat May 26 03:48:49 2007
New Revision: 11052
Log:
Start Date and Time showed as Start Date while creating CustomView for Calendar_Start_Time
Modified:
vtigercrm/branches/5.0.3/modules/CustomView/EditView.php
Modified: vtigercrm/branches/5.0.3/modules/CustomView/EditView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/CustomView/EditView.php (original)
+++ vtigercrm/branches/5.0.3/modules/CustomView/EditView.php Sat May 26 03:48:49 2007
@@ -333,10 +333,15 @@
{
foreach($result as $key=>$value)
{
+ if($value == 'Start Date & Time')
+ {
+ $value = 'Start Date';
+ }
if(isset($mod_strings[$value]))
{
if($key == $selected)
{
+
$filter['value'] = $key;
$filter['text'] = $app_list_strings['moduleList'][$module]." - ".$mod_strings[$value];
$filter['selected'] = "selected";
@@ -347,19 +352,19 @@
$filter['selected'] ="";
}
}else
- {
- if($key == $selected)
{
- $filter['value'] = $key;
- $filter['text'] = $app_list_strings['moduleList'][$module]." - ".$value;
- $filter['selected'] = 'selected';
- }else
- {
- $filter['value'] = $key;
- $filter['text'] = $app_list_strings['moduleList'][$module]." - ".$value;
- $filter['selected'] ='';
+ if($key == $selected)
+ {
+ $filter['value'] = $key;
+ $filter['text'] = $app_list_strings['moduleList'][$module]." - ".$value;
+ $filter['selected'] = 'selected';
+ }else
+ {
+ $filter['value'] = $key;
+ $filter['text'] = $app_list_strings['moduleList'][$module]." - ".$value;
+ $filter['selected'] ='';
+ }
}
- }
$stdfilter[]=$filter;
}
}
More information about the vtigercrm-commits
mailing list