[Vtigercrm-commits] [vtiger-commits] r6711 - in /vtigercrm/trunk/Smarty/templates: Buttons_List.tpl Emails.tpl Webmails.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 16:15:56 EDT 2006


Author: richie
Date: Mon May 29 14:15:51 2006
New Revision: 6711

Log:
Buttons added for Emails and webmail

Modified:
    vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
    vtigercrm/trunk/Smarty/templates/Emails.tpl
    vtigercrm/trunk/Smarty/templates/Webmails.tpl

Modified: vtigercrm/trunk/Smarty/templates/Buttons_List.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Buttons_List.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Buttons_List.tpl Mon May 29 14:15:51 2006
@@ -10,11 +10,12 @@
  ********************************************************************************/
 -->*}
 <script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script>
+<script language="JavaScript" type="text/javascript" src="include/js/ajax.js"></script>
 <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}">{$APP.$MODULE}</a></td>
+	<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 class="sep1" style="width:1px;padding-right:1px"></td>
 	<td class=small >
 		<table border=0 cellspacing=0 cellpadding=0>
@@ -22,7 +23,7 @@
 			<td>
 				<table border=0 cellspacing=0 cellpadding=5>
 				<tr>
-					{if $CHECK.EditView eq 'yes'}
+					{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}

Modified: vtigercrm/trunk/Smarty/templates/Emails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Emails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Emails.tpl Mon May 29 14:15:51 2006
@@ -99,12 +99,11 @@
 
 {rdelim}
 </script>
+		{include file='Buttons_List.tpl'}
 <script language="JavaScript" type="text/javascript" src="modules/Emails/Email.js"></script>
 <table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
 	<tr>
-		<td class="showPanelBg" valign="top" width="95%"  style="padding-left:20px; "><br />
-        	        <span class="lvtHeaderText">{$CATEGORY} &gt; {$MODULE} </span>
-            <hr noshade="noshade" size="1" />
+		<td class="showPanelBg" valign="top" width="95%"  style="padding-left:20px; ">&nbsp;
 		</td>
 		<td width="5%" class="showPanelBg">&nbsp;</td>
 	</tr>
@@ -152,7 +151,7 @@
 										<a href="javascript:;" onClick="ShowFolders(6)" class="webMnu">{$MOD.LBL_QUAL_CONTACT}</a>&nbsp;<b></b>
 									</li>
 									<li><img src="{$IMAGE_PATH}webmail_downarrow.gif" align="absmiddle" />&nbsp;&nbsp;
-									<a href="index.php?module=Webmails&action=index" class="webMnu">{$MOD.LBL_MY_MAILS}</a>&nbsp;<b></b>
+									<a href="index.php?module=Webmails&action=index&parenttab=My Home Page" class="webMnu">{$MOD.LBL_MY_MAILS}</a>&nbsp;<b></b>
 									</li>
 								</ul><br />
 							<img src="{$IMAGE_PATH}webmail_root.gif" align="absmiddle" />&nbsp;<b class="txtGreen">{$MOD.LBL_SENT_MAILS}</b>

Modified: vtigercrm/trunk/Smarty/templates/Webmails.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/Webmails.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/Webmails.tpl Mon May 29 14:15:51 2006
@@ -10,11 +10,10 @@
  ********************************************************************************/
 -->*}
 <!--  USER  SETTINGS PAGE STARTS HERE -->
+		{include file='Buttons_List.tpl'}
 <table width="100%" border="0" cellpadding="0" cellspacing="0" height="100%">
 	<tr>
-		 <td class="showPanelBg" valign="top" width="95%"  style="padding-left:20px; ">
-        	        <span class="lvtHeaderText">{$CATEGORY} -&gt; {$MODULE}  </span>
-		<hr noshade="noshade" size="1" /><br />
+		 <td class="showPanelBg" valign="top" width="95%"  style="padding-left:20px; ">&nbsp;
 		</td>
 		<td width="5%" class="showPanelBg">&nbsp;</td>
 	</tr>





More information about the vtigercrm-commits mailing list