[Vtigercrm-commits] [vtiger-commits] r10133 - /vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Feb 1 07:10:13 EST 2007


Author: richie
Date: Thu Feb  1 05:10:09 2007
New Revision: 10133

Log:
Action links given for Event & Todo --Minnie

Modified:
    vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl

Modified: vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/branches/5.0.3/Smarty/templates/DetailView.tpl Thu Feb  1 05:10:09 2007
@@ -386,6 +386,22 @@
 		</td>
 		<td width=22% valign=top style="border-left:2px dashed #cccccc;padding:13px">
 						<!-- right side relevant info -->
+		<!-- Action links for Event & Todo START-by Minnie -->
+                {if $MODULE eq 'Contacts' || $MODULE eq 'Accounts' || $MODULE eq 'Leads'}
+                        <table width="100%" border="0" cellpadding="5" cellspacing="0">
+                                <tr><td>&nbsp;</td></tr>
+                                <tr><td align="left" class="genHeaderSmall">{$APP.LBL_ACTIONS}</td></tr>
+                                <tr><td align="left" style="padding-left:10px;">
+                                        <img src="{$IMAGE_PATH}pointer.gif" hspace="5" align="absmiddle"/>
+                                        <a href="index.php?module=Calendar&action=EditView&return_module={$MODULE}&return_action=DetailView&activity_mode=Events&return_id={$ID}&parent_id={$ID}&parenttab={$CATEGORY}" class="webMnu">{$APP.LBL_ADD_NEW} {$APP.Event}</a>
+                                </td></tr>
+                                <tr><td align="left" style="padding-left:10px;">
+                                        <img src="{$IMAGE_PATH}pointer.gif" hspace="5" align="absmiddle"/>
+                                        <a href="index.php?module=Calendar&action=EditView&return_module={$MODULE}&return_action=DetailView&activity_mode=Task&return_id={$ID}&parent_id={$ID}&parenttab={$CATEGORY}" class="webMnu">{$APP.LBL_ADD_NEW} {$APP.Todo}</a></td></tr>
+                        </table>
+                <br>
+                {/if}
+                <!-- Action links for Event & Todo END-by Minnie -->
 
 		<!-- Tag cloud display -->
 		<table border=0 cellspacing=0 cellpadding=0 width=100% class="tagCloud">





More information about the vtigercrm-commits mailing list