[Vtigercrm-commits] [vtiger-commits] r9088 - /vtigercrm/trunk/Smarty/templates/DetailView.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Aug 24 00:51:40 EDT 2006


Author: richie
Date: Wed Aug 23 22:51:30 2006
New Revision: 9088

Log:
Updated DetailView.tpl for single pane view of modules -- Ahmed

Modified:
    vtigercrm/trunk/Smarty/templates/DetailView.tpl

Modified: vtigercrm/trunk/Smarty/templates/DetailView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/DetailView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/DetailView.tpl Wed Aug 23 22:51:30 2006
@@ -92,13 +92,10 @@
         </div>
 {/if}
 
+
 <table width="100%" cellpadding="2" cellspacing="0" border="0">
-<form action="index.php" method="post" name="DetailView" id="form">
 <tr>
 	<td>
-                <table cellpadding="0" cellspacing="5" border="0">
-			{include file='DetailViewHidden.tpl'}
-		</table>	
 
 		{include file='Buttons_List1.tpl'}
 
@@ -129,8 +126,10 @@
 					{else}
 					<td class="dvtSelectedCell" align=center nowrap>{$APP[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</td>	
 					<td class="dvtTabCache" style="width:10px">&nbsp;</td>
-					<td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</a></td>
-					<td class="dvtTabCache" style="width:100%">&nbsp;</td>
+					{if $SinglePane_View eq 'false'}
+						<td class="dvtUnSelectedCell" align=center nowrap><a href="index.php?action=CallRelatedList&module={$MODULE}&record={$ID}&parenttab={$CATEGORY}">{$APP.LBL_MORE} {$APP.LBL_INFORMATION}</a></td>
+					{/if}
+						<td class="dvtTabCache" style="width:100%">&nbsp;</td>
 					{/if}
 				</tr>
 				</table>
@@ -148,6 +147,8 @@
                 <tr>
 					<td style="padding:5px">
 					<!-- Command Buttons -->
+				<form action="index.php" method="post" name="DetailView" id="form">
+					{include file='DetailViewHidden.tpl'}
 				    <table border=0 cellspacing=0 cellpadding=0 width=100%>
 					{strip}<tr>
 					<td  colspan=4 style="padding:5px">
@@ -301,6 +302,7 @@
 		   <tr>
 			{$ASSOCIATED_PRODUCTS}
 		   </tr>
+			{if $SinglePane_View eq 'false'}
 			                  <tr>
 					     <td style="padding:10px">
 		           <table border=0 cellspacing=0 cellpadding=0 width=100%>
@@ -368,6 +370,11 @@
 						     </tr>{/strip}
 				</table>
 </td></tr>
+{/if}
+</form>
+			{if $SinglePane_View eq 'true'}
+				{include file= 'RelatedListNew.tpl'}
+			{/if}
 		</table>
 		</td>
 		<td width=22% valign=top style="border-left:2px dashed #cccccc;padding:13px">
@@ -450,5 +457,5 @@
 </td>
 
 	<td align=right valign=top><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td>
-</tr></table></form>
-
+</tr></table>
+





More information about the vtigercrm-commits mailing list