[Vtigercrm-commits] [vtiger-commits] r6745 - in /vtigercrm/trunk: Smarty/templates/ modules/Calendar/ modules/Home/ themes/blue/images/
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue May 30 09:19:17 EDT 2006
Author: don
Date: Tue May 30 07:18:57 2006
New Revision: 6745
Log:
new faded icons added
Added:
vtigercrm/trunk/modules/Calendar/header.php
vtigercrm/trunk/themes/blue/images/btnL3Add-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/btnL3AllMenu-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/btnL3Calc-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/btnL3Calendar-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/btnL3Clock-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/btnL3Search-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/tbarChat-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/tbarExport-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/tbarExport.gif (with props)
vtigercrm/trunk/themes/blue/images/tbarImport-Faded.gif (with props)
vtigercrm/trunk/themes/blue/images/tbarImport.gif (with props)
Modified:
vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
vtigercrm/trunk/modules/Calendar/calendarLayout.php
vtigercrm/trunk/modules/Home/index.php
Modified: vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List.tpl Tue May 30 07:18:57 2006
@@ -10,12 +10,28 @@
********************************************************************************/
-->*}
<script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
-<script language="JavaScript" type="text/javascript" src="include/js/ajax.js"></script>
+<!-- Activity createlink layer start -->
+{if $MODULE eq 'Activities'}
+<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>
+{/if}
+<!-- Activity createlink layer end -->
+
+
<TABLE border=0 cellspacing=0 cellpadding=0 width=100% class=small>
<tr><td style="height:2px"></td></tr>
<tr>
- <td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}&parenttab={$CATEGORY}">{$APP.$MODULE}</a></td>
+ <td style="padding-left:10px;padding-right:30px" class="moduleName" width="20%" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$APP.$MODULE}</a></td>
<td class="sep1" style="width:1px;padding-right:1px"></td>
<td class=small >
<table border=0 cellspacing=0 cellpadding=0>
@@ -23,72 +39,76 @@
<td>
<table border=0 cellspacing=0 cellpadding=5>
<tr>
- {if $CHECK.EditView eq 'yes' && $MODULE neq 'Emails' && $MODULE neq 'Webmails'}
- {if $MODULE eq 'Activities'}
- <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}
+ {if $CHECK.EditView eq 'yes'}
+ {if $MODULE eq 'Activities'}
+ <td style="padding-right:0px;padding-left:10px;"><a href="javascript:;" 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;padding-left:10px;"><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}
{/if}
{if $CHECK.index eq 'yes'}
- <td style="padding-right:0px"><a href="#" onClick="moveMe('searchAcc');searchshowhide('searchAcc','advSearch')" ><img src="{$IMAGE_PATH}btnL3Search.gif" alt="{$APP.LBL_SEARCH_ALT}{$MODULE}..." title="{$APP.LBL_SEARCH_TITLE}{$MODULE}..." border=0></a></a></td>
+ <td style="padding-right:10px"><a href="javascript:;" onClick="moveMe('searchAcc');searchshowhide('searchAcc','advSearch')" ><img src="{$IMAGE_PATH}btnL3Search.gif" alt="{$APP.LBL_SEARCH_ALT}{$MODULE}..." title="{$APP.LBL_SEARCH_TITLE}{$MODULE}..." border=0></a></a></td>
{/if}
- <td style="padding-right:0px"><a href="#" onClick='return window.open("index.php?module=Contacts&action=vtchat","Chat","width=450,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}tbarChat.gif" alt="{$APP.LBL_CHAT_ALT}" title="{$APP.LBL_CHAT_TITLE}" border=0></a>
- </td>
</tr>
</table>
- </td>
- <td nowrap width=50> </td>
- <td>
+ </td>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
<table border=0 cellspacing=0 cellpadding=5>
<tr>
- <td style="padding-right:0px"><a href="#" onClick='fnvshobj(this,"miniCal");getMiniCal();'><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="{$APP.LBL_CALENDAR_ALT}" title="{$APP.LBL_CALENDAR_TITLE}" border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="{$APP.LBL_CLOCK_ALT}" title="{$APP.LBL_CLOCK_TITLE}" border=0 onClick="fnvshobj(this,'wclock');"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="{$APP.LBL_CALCULATOR_ALT}" title="{$APP.LBL_CALCULATOR_TITLE}" border=0 onClick="fnvshobj(this,'calculator_cont');fetch_calc();"></a></a></td>
- <td nowrap="nowrap" width="25"> </td>
- <td style="padding-right: 0px;"><a href="#" onmouseout="fninvsh('allMenu');" onMouseover="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
+ <td style="padding-right:0px;padding-left:10px;"><a href="javascript:;" onClick='fnvshobj(this,"miniCal");getMiniCal();'><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="{$APP.LBL_CALENDAR_ALT}" title="{$APP.LBL_CALENDAR_TITLE}" border=0></a></a></td>
+ <td style="padding-right:0px"><a href="javascript:;"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="{$APP.LBL_CLOCK_ALT}" title="{$APP.LBL_CLOCK_TITLE}" border=0 onClick="fnvshobj(this,'wclock');"></a></a></td>
+ <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="{$APP.LBL_CALCULATOR_ALT}" title="{$APP.LBL_CALCULATOR_TITLE}" border=0 onClick="fnvshobj(this,'calculator_cont');fetch_calc();"></a></td>
+ <td style="padding-right:10px"><a href="javascript:;" onClick='return window.open("index.php?module=Contacts&action=vtchat","Chat","width=450,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}tbarChat.gif" alt="{$APP.LBL_CHAT_ALT}" title="{$APP.LBL_CHAT_TITLE}" border=0></a>
+ </td>
</tr>
</table>
- </td>
-
- <td>
+ </td>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
+ <table border=0 cellspacing=0 cellpadding=5>
+ <tr>
+ {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' }
+ {if $CHECK.Import eq 'yes'}
+ <td style="padding-right:0px;padding-left:10px;"><a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}tbarImport.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {if $CHECK.Export eq 'yes'}
+ <td style="padding-right:10px"><a href="index.php?module={$MODULE}&action=Export&all=1"><img src="{$IMAGE_PATH}tbarExport.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}
+ <td nowrap style="width:50%;padding:10px">
+ {if $CHECK.Export eq 'yes'}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><a href="index.php?module={$MODULE}&action=Export&all=1"><img src="{$IMAGE_PATH}tbarExport.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ </tr>
+ </table>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
<table border=0 cellspacing=0 cellpadding=5>
-
<tr>
+ <td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onMouseover="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
</tr>
</table>
- </td>
- </tr>
- </table>
+ </td>
+ </tr>
+ </table>
</td>
- {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' }
- <td class="sep1" style="width:1px;padding-right:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $CHECK.Import eq 'yes' && $CHECK.Export eq 'yes'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> |
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {elseif $CHECK.Import eq 'yes' && $CHECK.Export eq 'no'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}">{$APP.LBL_IMPORT} {$APP.$MODULE}</a>
- {elseif $CHECK.Import eq 'no' && $CHECK.Export eq 'yes' }
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {/if}
- {elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}
- <td class="sep1" style="width:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $CHECK.Export eq 'yes'}
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {/if}
- </td>
- {else}
- <td nowrap style="width:50%;padding:10px"> </td>
- {/if}
-
-
</tr>
<tr><td style="height:2px"></td></tr>
-
</TABLE>
Modified: vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List1.tpl Tue May 30 07:18:57 2006
@@ -31,7 +31,7 @@
<tr><td style="height:2px"></td></tr>
<tr>
- <td style="padding-left:10px;padding-right:30px" class="moduleName" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$APP.$MODULE}</a></td>
+ <td style="padding-left:10px;padding-right:30px" class="moduleName" width="20%" nowrap>{$APP.$CATEGORY} > <a class="hdrLink" href="index.php?action=ListView&module={$MODULE}">{$APP.$MODULE}</a></td>
<td class="sep1" style="width:1px;padding-right:1px"></td>
<td class=small >
<table border=0 cellspacing=0 cellpadding=0>
@@ -40,68 +40,73 @@
<table border=0 cellspacing=0 cellpadding=5>
<tr>
{if $CHECK.EditView eq 'yes'}
- {if $MODULE eq 'Activities'}
- <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}
+ {if $MODULE eq 'Activities'}
+ <td style="padding-right:0px;padding-left:10px;"><a href="javascript:;" 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;padding-left:10px;"><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}
{/if}
- <td style="padding-right:0px"><a href="#" onClick='return window.open("index.php?module=Contacts&action=vtchat","Chat","width=450,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}tbarChat.gif" alt="{$APP.LBL_CHAT_ALT}" title="{$APP.LBL_CHAT_TITLE}" border=0></a>
- </td>
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}btnL3Search-Faded.gif" border=0></td>
</tr>
</table>
- </td>
- <td nowrap width=50> </td>
- <td>
+ </td>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
<table border=0 cellspacing=0 cellpadding=5>
<tr>
- <td style="padding-right:0px"><a href="#" onClick='fnvshobj(this,"miniCal");getMiniCal();'><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="{$APP.LBL_CALENDAR_ALT}" title="{$APP.LBL_CALENDAR_TITLE}" border=0></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="{$APP.LBL_CLOCK_ALT}" title="{$APP.LBL_CLOCK_TITLE}" border=0 onClick="fnvshobj(this,'wclock')"></a></a></td>
- <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="{$APP.LBL_CALCULATOR_ALT}" title="{$APP.LBL_CALCULATOR_TITLE}" border=0 onClick="fnvshobj(this,'calculator_cont');fetch_calc();"></a></a></td>
- <td nowrap="nowrap" width="25"> </td>
- <td style="padding-right: 0px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onClick="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
+ <td style="padding-right:0px;padding-left:10px;"><a href="javascript:;" onClick='fnvshobj(this,"miniCal");getMiniCal();'><img src="{$IMAGE_PATH}btnL3Calendar.gif" alt="{$APP.LBL_CALENDAR_ALT}" title="{$APP.LBL_CALENDAR_TITLE}" border=0></a></a></td>
+ <td style="padding-right:0px"><a href="javascript:;"><img src="{$IMAGE_PATH}btnL3Clock.gif" alt="{$APP.LBL_CLOCK_ALT}" title="{$APP.LBL_CLOCK_TITLE}" border=0 onClick="fnvshobj(this,'wclock');"></a></a></td>
+ <td style="padding-right:0px"><a href="#"><img src="{$IMAGE_PATH}btnL3Calc.gif" alt="{$APP.LBL_CALCULATOR_ALT}" title="{$APP.LBL_CALCULATOR_TITLE}" border=0 onClick="fnvshobj(this,'calculator_cont');fetch_calc();"></a></td>
+ <td style="padding-right:10px"><a href="javascript:;" onClick='return window.open("index.php?module=Contacts&action=vtchat","Chat","width=450,height=400,resizable=1,scrollbars=1");'><img src="{$IMAGE_PATH}tbarChat.gif" alt="{$APP.LBL_CHAT_ALT}" title="{$APP.LBL_CHAT_TITLE}" border=0></a>
+ </td>
</tr>
</table>
- </td>
-
- <td>
+ </td>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
+ <table border=0 cellspacing=0 cellpadding=5>
+ <tr>
+ {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' }
+ {if $CHECK.Import eq 'yes'}
+ <td style="padding-right:0px;padding-left:10px;"><a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index&parenttab={$CATEGORY}"><img src="{$IMAGE_PATH}tbarImport.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {if $CHECK.Export eq 'yes'}
+ <td style="padding-right:10px"><a href="index.php?module={$MODULE}&action=Export&all=1"><img src="{$IMAGE_PATH}tbarExport.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}
+ <td nowrap style="width:50%;padding:10px">
+ {if $CHECK.Export eq 'yes'}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><a href="index.php?module={$MODULE}&action=Export&all=1"><img src="{$IMAGE_PATH}tbarExport.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></a></td>
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ {else}
+ <td style="padding-right:0px;padding-left:10px;"><img src="{$IMAGE_PATH}tbarImport-Faded.gif" alt="{$APP.LBL_IMPORT} {$APP.$MODULE}" title="{$APP.LBL_IMPORT} {$APP.$MODULE}" border="0"></td>
+ <td style="padding-right:10px"><img src="{$IMAGE_PATH}tbarExport-Faded.gif" alt="{$APP.LBL_EXPORT} {$APP.$MODULE}" title="{$APP.LBL_EXPORT} {$APP.$MODULE}" border="0"></td>
+ {/if}
+ </tr>
+ </table>
+ <td class="sep1" style="width:1px;padding-right:1px"></td>
+ <td>
<table border=0 cellspacing=0 cellpadding=5>
-
<tr>
+ <td style="padding-left:10px;"><a href="javascript:;" onmouseout="fninvsh('allMenu');" onMouseover="fnvshobj(this,'allMenu')"><img src="{$IMAGE_PATH}btnL3AllMenu.gif" alt="{$APP.LBL_ALL_MENU_ALT}" title="{$APP.LBL_ALL_MENU_TITLE}" border="0"></a></td>
</tr>
</table>
- </td>
- </tr>
- </table>
+ </td>
+ </tr>
+ </table>
</td>
- {if $MODULE eq 'Contacts' || $MODULE eq 'Leads' || $MODULE eq 'Accounts' || $MODULE eq 'Potentials' || $MODULE eq 'Products' }
- <td class="sep1" style="width:1px;padding-right:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $CHECK.Import eq 'yes' && $CHECK.Export eq 'yes'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a> |
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {elseif $CHECK.Import eq 'yes' && $CHECK.Export eq 'no'}
- <a href="index.php?module={$MODULE}&action=Import&step=2&return_module={$MODULE}&return_action=index">{$APP.LBL_IMPORT} {$APP.$MODULE}</a>
- {elseif $CHECK.Import eq 'no' && $CHECK.Export eq 'yes' }
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {/if}
- {elseif $MODULE eq 'Notes' || $MODULE eq 'Emails'}
- <td class="sep1" style="width:1px"></td>
- <td nowrap style="width:50%;padding:10px">
- {if $CHECK.Export eq 'yes'}
- <a href="index.php?module={$MODULE}&action=Export&all=1">{$APP.LBL_EXPORT} {$APP.$MODULE}</a>
- {/if}
- </td>
- {else}
- <td nowrap style="width:50%;padding:10px"> </td>
- {/if}
-
-
</tr>
<tr><td style="height:2px"></td></tr>
-
</TABLE>
Modified: vtigercrm/trunk/modules/Calendar/calendarLayout.php
==============================================================================
--- vtigercrm/trunk/modules/Calendar/calendarLayout.php (original)
+++ vtigercrm/trunk/modules/Calendar/calendarLayout.php Tue May 30 07:18:57 2006
@@ -147,7 +147,9 @@
$tabhtml = "";
$count = 1;
include_once 'modules/Calendar/addEventUI.php';
- $div = "<br><div id='miniCal' style='width:300px; position:absolute; display:none; left:100px; top:100px; z-index:100000;'></div>
+ include_once 'modules/Calendar/header.php';
+
+ $div = "<div id='miniCal' style='width:300px; position:absolute; display:none; left:100px; top:100px; z-index:100000;'></div>
<div id='calSettings' class='calSettings' style='display:none;width:500px;' align=center ></div>
";
echo $div;
Modified: vtigercrm/trunk/modules/Home/index.php
==============================================================================
--- vtigercrm/trunk/modules/Home/index.php (original)
+++ vtigercrm/trunk/modules/Home/index.php Tue May 30 07:18:57 2006
@@ -160,6 +160,8 @@
$smarty->assign("IMAGE_PATH",$image_path);
$smarty->assign("APP",$app_strings);
$smarty->assign("MOD",$mod_strings);
+$smarty->assign("MODULE",'Home');
+$smarty->assign("CATEGORY",getParenttab('Home'));
$smarty->assign("HOMEDETAILS",$home_values);
$smarty->assign("HOMEDEFAULTVIEW",DefHomeView());
$smarty->assign("ACTIVITIES",$activities);
More information about the vtigercrm-commits
mailing list