[Vtigercrm-commits] [vtiger-commits] r4788 - /vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 30 08:40:37 EST 2006


Author: saraj
Date: Thu Mar 30 06:40:32 2006
New Revision: 4788

Log:
changes made for duplicate code removal

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

Modified: vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListViewEntries.tpl Thu Mar 30 06:40:32 2006
@@ -32,7 +32,24 @@
                                  </td>
 				 <td width=100% align="right">
 				   <table border=0 cellspacing=0 cellpadding=0 class="small">
-					<tr>{$CUSTOMVIEW}</tr>
+					<tr>
+						<td>{$APP.LBL_VIEW}</td>
+						<td style="padding-left:5px;padding-right:5px">
+						    <SELECT NAME="viewname" class="small" onchange="showDefaultCustomView(this,'{$MODULE}')">{$CUSTOMVIEW_OPTION}</SELECT></td>
+						    {if $ALL eq 'All'}
+							<td><a href="index.php?module={$MODULE}&action=CustomView">{$APP.LNK_CV_CREATEVIEW}</a>
+							<span class="small">|</span>
+                                                        <span class="small" disabled>{$APP.LNK_CV_EDIT}</span>
+							<span class="small">|</span>
+                                                        <span class="small" disabled>{$APP.LNK_CV_DELETE}</span></td>
+						    {else}
+							<td><a href="index.php?module={$MODULE}&action=CustomView">{$APP.LNK_CV_CREATEVIEW}</a>
+							<span class="small">|</span>
+							<a href="index.php?module={$MODULE}&action=CustomView&record={$VIEWID}">{$APP.LNK_CV_EDIT}</a>
+							<span class="small">|</span>
+							<a href="index.php?module=CustomView&action=Delete&dmodule={$MODULE}&record={$VIEWID}">{$APP.LNK_CV_DELETE}</a></td>
+						    {/if}	
+					</tr>
 				   </table>
 				 </td>	
                		      </tr>





More information about the vtigercrm-commits mailing list