[Vtigercrm-commits] [vtiger-commits] r7014 - in /vtigercrm/trunk/Smarty/templates: Buttons_List.tpl Buttons_List1.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 05:58:13 EDT 2006
Author: saraj
Date: Tue Jun 13 03:58:07 2006
New Revision: 7014
Log:
changes made to integrate googlemap
Modified:
vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
Modified: vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List.tpl Tue Jun 13 03:58:07 2006
@@ -118,6 +118,16 @@
</tr>
</table>
</td>
+ {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts'}
+ <td class="small">
+ <!-- Google Map -->
+ <table border=0 cellspacing=0 cellpadding=5>
+ <tr>
+ <td style="padding-left:10px;"><a href="#" onclick='window.open("index.php?module={$MODULE}&action=googlemap","test","width=600,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="GoogleMap" title="GoogleMap" border="0"></a></td>
+ </tr>
+ </table>
+ </td>
+ {/if}
</tr>
</table>
</td>
Modified: vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl Tue Jun 13 03:58:07 2006
@@ -114,6 +114,16 @@
</tr>
</table>
</td>
+ {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts'}
+ <td class="small">
+ <!-- Google Map -->
+ <table border=0 cellspacing=0 cellpadding=5>
+ <tr>
+ <td style="padding-left:10px;"><a href="#" onclick='window.open("index.php?module={$MODULE}&action=googlemap&record={$ID}","test","width=600,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="GoogleMap" title="GoogleMap" border="0"></a></td>
+ </tr>
+ </table>
+ </td>
+ {/if}
</tr>
</table>
</td>
More information about the vtigercrm-commits
mailing list