[Vtigercrm-commits] [vtiger-commits] r5444 - /vtigercrm/trunk/modules/Emails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Apr 27 03:48:26 EDT 2006
Author: richie
Date: Thu Apr 27 01:48:22 2006
New Revision: 5444
Log:
Emails Detailview Delete has been integrated
Modified:
vtigercrm/trunk/modules/Emails/ListView.php
Modified: vtigercrm/trunk/modules/Emails/ListView.php
==============================================================================
--- vtigercrm/trunk/modules/Emails/ListView.php (original)
+++ vtigercrm/trunk/modules/Emails/ListView.php Thu Apr 27 01:48:22 2006
@@ -27,7 +27,6 @@
require_once('include/logging.php');
require_once('include/utils/utils.php');
require_once('modules/CustomView/CustomView.php');
-require_once('include/utils/UserInfoUtil.php');
$submenu = array('LBL_EMAILS_TITLE'=>'index.php?module=Emails&action=ListView.php','LBL_WEBMAILS_TITLE'=>'index.php?module=Webmails&action=index&parenttab=My Home Page');
@@ -50,7 +49,7 @@
$cur_mod = $sec_arr[$filename];
$cur_tabid = getTabid($cur_mod);
- if(isPermitted($cur_mod,'','') == 'yes')
+ if($tab_per_Data[$cur_tabid] == 0)
{
list($lbl,$sname,$title)=split("_",$label);
if(stristr($label,"EMAILS"))
@@ -119,7 +118,7 @@
//<<<<<customview>>>>>
// Buttons and View options
-if(isPermitted('Emails','Delete','') == 'yes')
+if(isPermitted('Emails',2,'') == 'yes')
{
$other_text['del'] = $app_strings[LBL_MASS_DELETE];
}
@@ -232,5 +231,6 @@
$check_button = Button_Check($module);
$smarty->assign("CHECK", $check_button);
-$smarty->display("Emails.tpl");
+ $smarty->display("Emails.tpl");
+
?>
More information about the vtigercrm-commits
mailing list