[Vtigercrm-commits] [vtiger-commits] r5789 - in /vtigercrm/trunk/Smarty/templates: CustomFieldCombo.tpl CustomFieldEntries.tpl CustomFieldList.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 9 07:17:53 EDT 2006
Author: saraj
Date: Tue May 9 05:17:48 2006
New Revision: 5789
Log:
changes made to fix the issue
Added:
vtigercrm/trunk/Smarty/templates/CustomFieldCombo.tpl
Modified:
vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl
vtigercrm/trunk/Smarty/templates/CustomFieldList.tpl
Modified: vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl Tue May 9 05:17:48 2006
@@ -16,12 +16,11 @@
</tr>
<tr>
<td>
- <form action="index.php" method="post" name="new" id="form">
+ <form action="index.php" method="post" name="form">
<input type="hidden" name="fld_module" value="{$MODULE}">
<input type="hidden" name="module" value="Settings">
<input type="hidden" name="parenttab" value="Settings">
<input type="hidden" name="mode">
- <input type="hidden" name="action">
<table width="95%" border="0" cellpadding="5" cellspacing="0">
<tr><td align="right"><input type="button" value=" New Custom Field " onClick="getCreateCustomFieldForm('{$MODULE}','','','')" class="classBtn"/></td></tr>
</table>
@@ -51,13 +50,10 @@
Field Mapping allows you to ....
</td>
</tr>
- <tr><td colspan="2" align="right"><input input title="{$MOD.CUSTOMFIELDMAPPING}" class="classBtn" onclick="this.form.action.value='LeadCustomFieldMapping';" type="submit" name="ListLeadCustomFieldMapping" value="{$MOD.CUSTOMFIELDMAPPING}"></td></tr>
+ <tr><td colspan="2" align="right"><input input title="{$MOD.CUSTOMFIELDMAPPING}" class="classBtn" onclick="CustomFieldMapping();" type="button" name="ListLeadCustomFieldMapping" value="{$MOD.CUSTOMFIELDMAPPING}"></td></tr>
</table>
{/if}
</form>
</td>
</tr></table>
-{*<div id="orgLay" style="top:175px;left:275px; ">
- {include file='CreateCustomField.tpl'}
-</div>*}
Modified: vtigercrm/trunk/Smarty/templates/CustomFieldList.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CustomFieldList.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CustomFieldList.tpl Tue May 9 05:17:48 2006
@@ -13,7 +13,6 @@
function ajaxSaveResponse(response)
{ldelim}
document.getElementById("cfList").innerHTML=response.responseText;
- //document.getElementById("test").value=response.responseText;
{rdelim}
function getCustomFieldList(customField)
{ldelim}
@@ -44,6 +43,12 @@
ajaxObj.process("index.php?",urlstring);
{rdelim}
+function CustomFieldMapping()
+{ldelim}
+ document.form.action="index.php?module=Settings&action=LeadCustomFieldMapping";
+ document.form.submit();
+{rdelim}
+
</script>
<div id="createcf" style="display:block;position:absolute;top:175px;left:275px;"></div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
@@ -70,27 +75,10 @@
<span class="genHeaderGrayBig">Custom Field Settings</span>
<br />
<span class="big">Create and Manage user defined fields......</span>
- {*<textarea rows=20 cols=70 id="test"></textarea>*}
</td>
</tr>
<tr><td colspan="2"> </td></tr>
- <tr>
- <td align="right"><img src="{$IMAGE_PATH}one.gif" /></td>
- <td><b class="lvtHeaderText">Select Module</b></td>
- </tr>
- <tr>
- <form name="selectModule">
- <td> </td>
- <td>
- Select the CRM module to show CustomFields :
- <select name="pick_module" class="importBox" onChange="getCustomFieldList(this)">
- {foreach key=sel_value item=value from=$MODULES}
- <option value="{$sel_value}">{$value}</option>
- {/foreach}
- </select>
- </td>
- </form>
- </tr>
+ {include file="CustomFieldCombo.tpl"}
<tr><td colspan="2"> </td></tr>
<tr><td colspan ="2">
More information about the vtigercrm-commits
mailing list