[Vtigercrm-commits] [vtiger-commits] r9589 - in /vtigercrm/branches/5.0.1: include/js/customview.js modules/Settings/CreateCustomField.php modules/Settings/language/en_us.lang.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Oct 9 01:49:12 EDT 2006
Author: richie
Date: Sun Oct 8 23:49:05 2006
New Revision: 9589
Log:
new type Skype added for custom field --Minnie
Modified:
vtigercrm/branches/5.0.1/include/js/customview.js
vtigercrm/branches/5.0.1/modules/Settings/CreateCustomField.php
vtigercrm/branches/5.0.1/modules/Settings/language/en_us.lang.php
Modified: vtigercrm/branches/5.0.1/include/js/customview.js
==============================================================================
--- vtigercrm/branches/5.0.1/include/js/customview.js (original)
+++ vtigercrm/branches/5.0.1/include/js/customview.js Sun Oct 8 23:49:05 2006
@@ -120,8 +120,8 @@
} else return false
}
}
-var fieldValueArr=new Array('Text','Number','Percent','Currency','Date','Email','Phone','Picklist','URL','Checkbox','TextArea','MultiSelectCombo');
-var fieldTypeArr=new Array('text','number','percent','currency','date','email','phone','picklist','url','checkbox','textarea','multiselectcombo');
+var fieldValueArr=new Array('Text','Number','Percent','Currency','Date','Email','Phone','Picklist','URL','Checkbox','TextArea','MultiSelectCombo','Skype');
+var fieldTypeArr=new Array('text','number','percent','currency','date','email','phone','picklist','url','checkbox','textarea','multiselectcombo','skype');
var currFieldIdx=0,totFieldType;
var focusFieldType;
@@ -175,7 +175,7 @@
lengthLayer.style.visibility="visible"
decimalLayer.style.visibility="hidden"
pickListLayer.style.visibility="hidden"
- } else if (type=='date' || type=='email' || type=='phone' || type=='url' || type=='checkbox' || type=='textarea') {
+ } else if (type=='date' || type=='email' || type=='phone' || type=='url' || type=='checkbox' || type=='textarea' || type=='skype') {
getObj("lengthdetails").style.visibility="hidden"
decimalLayer.style.visibility="hidden"
pickListLayer.style.visibility="hidden"
Modified: vtigercrm/branches/5.0.1/modules/Settings/CreateCustomField.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Settings/CreateCustomField.php (original)
+++ vtigercrm/branches/5.0.1/modules/Settings/CreateCustomField.php Sun Oct 8 23:49:05 2006
@@ -39,7 +39,8 @@
$image_path."url.gif",
$image_path."checkbox.gif",
$image_path."text.gif",
- $image_path."cfpicklist.gif");
+ $image_path."cfpicklist.gif",
+ $image_path."skype.gif");
$cftextcombo = Array($mod_strings['Text'],
$mod_strings['Number'],
@@ -52,7 +53,8 @@
$mod_strings['LBL_URL'],
$mod_strings['LBL_CHECK_BOX'],
$mod_strings['LBL_TEXT_AREA'],
- $mod_strings['LBL_MULTISELECT_COMBO']
+ $mod_strings['LBL_MULTISELECT_COMBO'],
+ $mod_strings['Skype']
);
$typeVal = Array(
'0'=>'Text',
@@ -64,7 +66,8 @@
'6'=>'Phone',
'7'=>'Picklist',
'8'=>'URL',
- '11'=>'MultiSelectCombo');
+ '11'=>'MultiSelectCombo',
+ '12'=>'Skype');
if(isset($fieldid) && $fieldid!='')
{
$mode='edit';
Modified: vtigercrm/branches/5.0.1/modules/Settings/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.1/modules/Settings/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.1/modules/Settings/language/en_us.lang.php Sun Oct 8 23:49:05 2006
@@ -252,6 +252,8 @@
'PickList'=>'Pick List',
'LBL_MULTISELECT_COMBO'=>'Multi-Select Combo Box',
+
+'Skype'=>'Skype',
More information about the vtigercrm-commits
mailing list