[Vtigercrm-commits] [vtiger-commits] r6113 - in /vtigercrm/trunk: Smarty/templates/Buttons_List1.tpl modules/Activities/CallRelatedList.php modules/Activities/DetailView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed May 17 06:56:26 EDT 2006


Author: saraj
Date: Wed May 17 04:56:19 2006
New Revision: 6113

Log:
changes made to fix the activityicon issue

Modified:
    vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
    vtigercrm/trunk/modules/Activities/CallRelatedList.php
    vtigercrm/trunk/modules/Activities/DetailView.php

Modified: vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl Wed May 17 04:56:19 2006
@@ -10,6 +10,21 @@
  ********************************************************************************/
 -->*}
 <script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
+<!-- Activity createlink layer start  -->
+<div id="reportLay" style="width: 125px; right: 159px; top: 260px; display: none; z-index:50" onmouseout="fninvsh('reportLay')" onmouseover="fnvshNrm('reportLay')">
+        <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
+                <tr>
+                        <td>
+                                <a href="index.php?module={$MODULE}&action=EditView&return_module={$MODULE}&activity_mode=Events&return_action=DetailView&parenttab={$CATEGORY}" class="calMnu">{$NEW_EVENT}</a>
+                                <a href="index.php?module={$MODULE}&action=EditView&return_module={$MODULE}&activity_mode=Task&return_action=DetailView&parenttab={$CATEGORY}" class="calMnu">{$NEW_TASK}</a>
+                        </td>
+                </tr>
+        </table>
+
+</div>
+<!-- Activity createlink layer end  -->
+
+
 <TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
 
 <tr><td style="height:2px"></td></tr>
@@ -24,7 +39,7 @@
 				<tr>
 					{if $CHECK.EditView eq 'yes'}
 				        	{if $MODULE eq 'Activities'}
-                                        	        <td style="padding-right:0px"><a href="#" id="showSubMenu"  onMouseOver="moveMe('subMenu');searchshowhide('subMenu');"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." title="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." border=0></a></td>
+                                        	        <td style="padding-right:0px"><a href="#" id="showSubMenu"  onMouseOver="fnvshobj(this,'reportLay');" onMouseOut="fninvsh('reportLay');"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." title="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." border=0></a></td>
                                        		 {else}
         	                                	<td style="padding-right:0px"><a href="index.php?module={$MODULE}&action=EditView&return_action=DetailView&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}btnL3Add.gif" alt="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." title="{$APP.LBL_CREATE_BUTTON_LABEL} {$MODULE}..." border=0></a></td>
                                         	{/if}

Modified: vtigercrm/trunk/modules/Activities/CallRelatedList.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/CallRelatedList.php (original)
+++ vtigercrm/trunk/modules/Activities/CallRelatedList.php Wed May 17 04:56:19 2006
@@ -47,6 +47,8 @@
 $smarty->assign("RELATEDLISTS", $related_array);
 $smarty->assign("ID", $RECORD);
 $smarty->assign("SINGLE_MOD", $app_strings['Activity']);
+$smarty->assign("NEW_EVENT",$app_strings['LNK_NEW_EVENT']);
+$smarty->assign("NEW_TASK",$app_strings['LNK_NEW_TASK']);
 $smarty->assign("ACTIVITY_MODE",'Events');
 $smarty->assign("MODULE", $MODULE);
 $smarty->assign("THEME", $theme);

Modified: vtigercrm/trunk/modules/Activities/DetailView.php
==============================================================================
--- vtigercrm/trunk/modules/Activities/DetailView.php (original)
+++ vtigercrm/trunk/modules/Activities/DetailView.php Wed May 17 04:56:19 2006
@@ -125,6 +125,8 @@
 $smarty->assign("CUSTOMFIELD", $cust_fld);
 $smarty->assign("ID", $_REQUEST['record']);
 $smarty->assign("SINGLE_MOD", $app_strings['Activity']);
+$smarty->assign("NEW_EVENT",$app_strings['LNK_NEW_EVENT']);
+$smarty->assign("NEW_TASK",$app_strings['LNK_NEW_TASK']);
 
 //get Description Information
 





More information about the vtigercrm-commits mailing list