[Vtigercrm-commits] [vtiger-commits] r4787 - /vtigercrm/trunk/Smarty/templates/ListView.tpl
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Mar 30 08:33:54 EST 2006
Author: saraj
Date: Thu Mar 30 06:33:38 2006
New Revision: 4787
Log:
changes made for duplicate code removal
Modified:
vtigercrm/trunk/Smarty/templates/ListView.tpl
Modified: vtigercrm/trunk/Smarty/templates/ListView.tpl
==============================================================================
--- vtigercrm/trunk/Smarty/templates/ListView.tpl (original)
+++ vtigercrm/trunk/Smarty/templates/ListView.tpl Thu Mar 30 06:33:38 2006
@@ -294,7 +294,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