[Vtigercrm-commits] [vtiger-commits] r5166 - /vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 17 11:51:01 EDT 2006
Author: saraj
Date: Mon Apr 17 09:50:58 2006
New Revision: 5166
Log:
new UI for customfield has been integrated
Modified:
vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl
Modified: vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/CustomFieldEntries.tpl Mon Apr 17 09:50:58 2006
@@ -8,32 +8,56 @@
* All Rights Reserved.
*
********************************************************************************/ *}
-<table style="background-color: rgb(204, 204, 204);" class="small" border="0" cellpadding="5" cellspacing="1" width="95%">
- <tbody>
- <tr>
- <td class="lvtCol" width="5%">#</td>
- <td class="lvtCol" width="35%">Field Lable </td>
- <td class="lvtCol" width="50%">Field Type </td>
- <td class="lvtCol" width="10%">Tools</td>
- </tr>
- {foreach item=entries key=id from=$CFENTRIES}
- <tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
- {foreach item=value from=$entries}
- <td nowrap>{$value}</td>
- {/foreach}
- </tr>
- {/foreach}
- </tbody>
-</table><br/>
-{if $MODULE eq 'Leads'}
- <table width="35%" style="border:1px dashed #CCCCCC;background-color:#FFFFEC;" cellpadding="5" cellspacing="0">
- <tr>
- <td style="padding:5px;" width="5%" >
- <img src="themes/blue/images/mapping.gif" align="absmiddle" /> </td>
- <td><span class="genHeaderSmall">Filed Mapping</span><br />
- Field Mapping allows you to ....
- </td>
- </tr>
- <tr><td colspan="2" align="right"><input type="button" value=" Edit Field Mapping " class="classBtn" /></td></tr>
- </table>
-{/if}
+ <table width="100%"><tr>
+ <td align="right" valign="top" width="5%" rowspan="2"><img src="{$IMAGE_PATH}two.gif" width="29" height="31" /></td>
+ <td>
+ <b class="lvtHeaderText">Custom Fields in {$MODULE}</b>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <form action="index.php" method="post" name="new" id="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>
+ <table style="background-color: rgb(204, 204, 204);" class="small" border="0" cellpadding="5" cellspacing="1" width="95%">
+ <tbody>
+ <tr>
+ <td class="lvtCol" width="5%">#</td>
+ <td class="lvtCol" width="35%">Field Lable </td>
+ <td class="lvtCol" width="50%">Field Type </td>
+ <td class="lvtCol" width="10%">Tools</td>
+ </tr>
+ {foreach item=entries key=id from=$CFENTRIES}
+ <tr class="lvtColData" onmouseover="this.className='lvtColDataHover'" onmouseout="this.className='lvtColData'" bgcolor="white">
+ {foreach item=value from=$entries}
+ <td nowrap>{$value}</td>
+ {/foreach}
+ </tr>
+ {/foreach}
+ </tbody>
+ </table><br />
+ {if $MODULE eq 'Leads'}
+ <table width="35%" style="border:1px dashed #CCCCCC;background-color:#FFFFEC;" cellpadding="5" cellspacing="0">
+ <tr>
+ <td style="padding:5px;" width="5%" >
+ <img src="themes/blue/images/mapping.gif" align="absmiddle" /> </td>
+ <td><span class="genHeaderSmall">Filed Mapping</span><br />
+ 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>
+ </table>
+ {/if}
+ </form>
+ </td>
+ </tr></table>
+{*<div id="orgLay" style="top:175px;left:275px; ">
+ {include file='CreateCustomField.tpl'}
+</div>*}
+
More information about the vtigercrm-commits
mailing list